diff --git a/packages/@uppy/dashboard/src/index.js b/packages/@uppy/dashboard/src/index.js index b161a56d4..e26708209 100644 --- a/packages/@uppy/dashboard/src/index.js +++ b/packages/@uppy/dashboard/src/index.js @@ -40,8 +40,6 @@ function defaultPickerIcon () { module.exports = class Dashboard extends UIPlugin { static VERSION = require('../package.json').version - #openFileEditorWhenFilesAdded - constructor (uppy, opts) { super(uppy, opts) this.id = this.opts.id || 'Dashboard' @@ -730,7 +728,7 @@ module.exports = class Dashboard extends UIPlugin { this.uppy.emit('restore-canceled') } - _openFileEditorWhenFilesAdded = (files) => { + #openFileEditorWhenFilesAdded = (files) => { const firstFile = files[0] if (this.canEditFile(firstFile)) { this.openFileEditor(firstFile)