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
Instead of import Dropzone from 'react-dropzone' we want to use import { useDropzone } from 'react-dropzone'
Test... best place is probably extrinsics -> system.setCode (if it works there, should do elsewhere)
Doing so will also (almost...) allow us to swap to removing the moduleResolution: "node" override we have in tsconfig.base.json (Some additional tweaks may be required after the above swap)
The text was updated successfully, but these errors were encountered:
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.
The
react-dropzone
component is used inreact-components/InputFile.tsx
and is in need of an upgrade.apps/packages/react-components/package.json
Line 41 in a5d6bea
useDropzone
usage in https://react-dropzone.js.org/react-components/InputFile.tsx
, specifically hereapps/packages/react-components/src/InputFile.tsx
Line 5 in a5d6bea
import Dropzone from 'react-dropzone'
we want to useimport { useDropzone } from 'react-dropzone'
Doing so will also (almost...) allow us to swap to removing the
moduleResolution: "node"
override we have intsconfig.base.json
(Some additional tweaks may be required after the above swap)The text was updated successfully, but these errors were encountered: