From 3cbae1dcad8dd0999cde7c714042e25238856447 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Fri, 3 Jun 2022 21:54:20 +0530 Subject: [PATCH] remove unreachable code --- apps/remix-ide/src/app/editor/editor.js | 4 ---- 1 file changed, 4 deletions(-) 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 () => {