fix setting teh current file

pull/2481/head
yann300 3 years ago committed by GitHub
parent a464f9583e
commit f5bb0d37e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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