material-tailwind icon indicating copy to clipboard operation
material-tailwind copied to clipboard

Default export errors

Open mkilpatrick opened this issue 1 year ago • 0 comments

Since the project is exported as CJS we need to use the default export. In Vite SSR mode, this leads to the following error.

Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.

mkilpatrick avatar Jan 10 '24 22:01 mkilpatrick