Merge pull request #2481 from ethereum/yann300-patch-41

fix setting the current file
pull/5370/head
yann300 3 years ago committed by GitHub
commit 713ab72b4e
  1. 2
      apps/remix-ide/src/app/editor/editor.js

@ -165,7 +165,7 @@ class Editor extends Plugin {
}
}
}
if (name === this.currentFile) {
if (name !== this.currentFile) {
this.currentFile = name
this.renderComponent()
}

Loading…
Cancel
Save