@@ -20,7 +20,7 @@ class Dashboard extends React.Component {
delete options.uppy
uppy.use(DashboardPlugin, options)
- this.plugin = uppy.getPlugin('react:Dashboard')
+ this.plugin = uppy.getPlugin(options.id)
}
componentWillUnmount () {
@@ -21,7 +21,7 @@ class DragDrop extends React.Component {
uppy.use(DragDropPlugin, options)
- this.plugin = uppy.getPlugin('react:DragDrop')
@@ -21,7 +21,7 @@ class ProgressBar extends React.Component {
uppy.use(ProgressBarPlugin, options)
- this.plugin = uppy.getPlugin('react:ProgressBar')
@@ -22,7 +22,7 @@ class StatusBar extends React.Component {
uppy.use(StatusBarPlugin, options)
- this.plugin = uppy.getPlugin('react:StatusBar')