You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first error is that the compiled .js file modifies the "ProfileModal" variable, which is a const
I modify the script to use "let"
exportletProfileModal= ...
But then another error occurs, from the component that includes the modal
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports
Hey, I face multiple errors when I use React.forwardRef
Here is my code
The first error is that the compiled .js file modifies the "ProfileModal" variable, which is a const
I modify the script to use "let"
But then another error occurs, from the component that includes the modal
When logging
ProfileModal
value, it shows undefinedThe text was updated successfully, but these errors were encountered: