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
A build error is occurring in Next.js with the message "undefined is not a function." This issue arises when attempting to pass a MIME type to the useDropzone hook while using the Next.js app router.
To Reproduce
Steps to reproduce the behavior:
Create a Generic FileUpload component
import it in react server component and provide mime type according to document
run npm or yarn build
See error
The text was updated successfully, but these errors were encountered:
Describe the bug
A build error is occurring in Next.js with the message "undefined is not a function." This issue arises when attempting to pass a MIME type to the useDropzone hook while using the Next.js app router.
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: