diff --git a/apps/remix-ide/src/app/editor/editor.js b/apps/remix-ide/src/app/editor/editor.js index cffd5c3de3..50f7f42d76 100644 --- a/apps/remix-ide/src/app/editor/editor.js +++ b/apps/remix-ide/src/app/editor/editor.js @@ -165,10 +165,6 @@ class Editor extends Plugin { } } } - if (name !== this.currentFile) { - this.currentFile = name - this.renderComponent() - } }) this.on('fileManager', 'noFileSelected', async () => {