Closed ecarradal closed 2 years ago
Is this rendering during SSR? https://github.com/sarink/react-file-drop/blob/master/file-drop/src/FileDrop.tsx#L82 the default frame
is window.document
, which would be undefined
on the server, and then could throw this error https://github.com/sarink/react-file-drop/blob/master/file-drop/src/FileDrop.tsx#L66
Hello!! I using react-file-drop in next 12, but I don't know why the console is returning this warning.
This is my custom component