rollback listening to event

pull/5370/head
yann300 3 years ago committed by GitHub
parent b8639e5970
commit 046b42bf2b
  1. 5
      apps/remix-ide/src/app/editor/editor.js

@ -144,11 +144,6 @@ class Editor extends Plugin {
this.currentThemeType = theme.quality
this.renderComponent()
})
this.on('fileManager', 'fileClosed', (name) => {
if (name === this.currentFile) {
this.currentFile = null
}
})
try {
this.currentThemeType = (await this.call('theme', 'currentTheme')).quality
} catch (e) {

Loading…
Cancel
Save