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
It seems that react-templates does not work with styled-components. I have the following error: Error: 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. Check the render method of MyComponent.
Hello!
It seems that react-templates does not work with
styled-components
. I have the following error:Error: 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. Check the render method of MyComponent.
Here is my code :
component.js
P.js
index.rt.html
Do you know what's wrong? Thanks!
The text was updated successfully, but these errors were encountered: