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
thank you for the great library which works great so far. We currently use it in an Astro Js environment within a react component, where it perfectly works in dev mode, but throws a build error like
"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object."
Hey,
thank you for the great library which works great so far. We currently use it in an Astro Js environment within a react component, where it perfectly works in dev mode, but throws a build error like
"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object."
Typically, this is related to named/default exports and the corresponding import Synatx (see https://bobbyhadz.com/blog/react-element-type-is-invalid-expected-string-but-got), but this is not the solution here.
Do you have any idea, what causes this error and how to fix it?
Thanks in advance.
Cheers,
Christoph
The text was updated successfully, but these errors were encountered: