react-awesome-lightbox
react-awesome-lightbox copied to clipboard
Error Decoder , in production
i'm using vite 3 , locally everything work fine but after build or in production
i'm facing this issue ,
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: [missing argument].[missing argument]
any suggestion to fix this issue
note : images is links from aws
**vite can't build pkg with default export
I "fixed it" by copying de src code into my own component and importing it from there. I'm using react 18 and vite 4.
I "fixed it" by copying de src code into my own component and importing it from there. I'm using react 18 and vite 4.
same worked for me, I am using React 18