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
I call this component in a MUI stepper. It's mounted in the first page only as that's the only place we need it. But when navigating from the first page to the second I get this error: .
I have found the fix to be to manually modify the module by navigating to node_modules/@uppy/react/lib/Dashboard.js and commenting out the following:
Dashboard.prototype.componentWillUnmount = function componentWillUnmount() {
var uppy = this.props.uppy;
// uppy.removePlugin(this.plugin);
};
However manually modifying the module doesn't seem like a long term fix. Maybe the problem is in the way I mount the component. Nevertheless, I'm reporting this issue in case anyone else encounters it.
Thank you!
The text was updated successfully, but these errors were encountered:
Hi,
I'm using Uppy in a react project.
I have set up Uppy file uploader in a functional component like this:
I call this component in a MUI stepper. It's mounted in the first page only as that's the only place we need it. But when navigating from the first page to the second I get this error:
.
I have found the fix to be to manually modify the module by navigating to
node_modules/@uppy/react/lib/Dashboard.js
and commenting out the following:However manually modifying the module doesn't seem like a long term fix. Maybe the problem is in the way I mount the component. Nevertheless, I'm reporting this issue in case anyone else encounters it.
Thank you!
The text was updated successfully, but these errors were encountered: