references improved

pull/445/head
aniket-engg 4 years ago committed by Aniket
parent d62916695e
commit 7bb3713885
  1. 2
      apps/remix-ide/src/app/editor/contextView.js

@ -86,7 +86,7 @@ class ContextView {
}
}
}
if (!this._current || !previous || previous.id !== this._current.id) {
if (!this._current || !previous || previous.id !== this._current.id || (this.previousElement && !this.previousElement.children.length)) {
this.previousElement = this._render(this._current, last)
}
return this.previousElement

Loading…
Cancel
Save