Merge pull request #1797 from ethereum/yann300-patch-36

Do not render if the file is already switched to
pull/1813/head^2
bunsenstraat 3 years ago committed by GitHub
commit bf96bb3c67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      apps/remix-ide/src/app/editor/editor.js

@ -155,6 +155,7 @@ class Editor extends Plugin {
}
_switchSession (path) {
if (path === this.currentFile) return
this.triggerEvent('sessionSwitched', [])
this.currentFile = path
this.renderComponent()

Loading…
Cancel
Save