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
import Uppy from '@uppy/core';
import Webcam from '@uppy/webcam';
import { Dashboard } from '@uppy/react';
// Don't forget the CSS: core and the UI components + plugins you are using.
import '@uppy/core/dist/style.min.css';
import '@uppy/dashboard/dist/style.min.css';
import '@uppy/webcam/dist/style.min.css';
// Don’t forget to keep the Uppy instance outside of your component.
const uppy = new Uppy().use(Webcam);
function Component() {
return <Dashboard uppy={uppy} plugins={['Webcam']} />;
}
not-found-boundary.js:22 Uncaught Error: Already found a plugin named 'react:Dashboard'. Tried to use: 'react:Dashboard'.
Uppy plugins must have unique id options. See https://uppy.io/docs/plugins/#id.
The text was updated successfully, but these errors were encountered:
Initial checklist
Link to runnable example
No response
Steps to reproduce
I followed this piece of code from https://uppy.io/docs/react/
Thank you for any help ! :)
Expected behavior
I should see the Uppy component
Actual behavior
I got this error :
not-found-boundary.js:22 Uncaught Error: Already found a plugin named 'react:Dashboard'. Tried to use: 'react:Dashboard'.
Uppy plugins must have unique
id
options. See https://uppy.io/docs/plugins/#id.The text was updated successfully, but these errors were encountered: