Describe the bug
Since updating to 3.0.2, we get this error when starting sanity:
import { useDropzone } from "react-dropzone";
^^^^^^^^^^^
SyntaxError: The requested module 'react-dropzone' does not provide an export named 'useDropzone'
To Reproduce
Steps to reproduce the behavior:
- Update the packages using ncu (sanity-plugin-media) to 3.0.2
- run
npm run dev
- Go to /studio
- See error
Expected behavior
The entire studio should not crash on this error.
Screenshots
Plugin and environment information:
- Plugin version: 3.0.2
- Sanity version 3.81.0
- Operating system and version OSX Sequoia 15.3.2
- Browser and version number: Arc 1.87.0
Describe the bug
Since updating to 3.0.2, we get this error when starting sanity:
To Reproduce
Steps to reproduce the behavior:
npm run devExpected behavior
The entire studio should not crash on this error.
Screenshots
Plugin and environment information: