references improved

pull/5370/head
aniket-engg 4 years ago committed by Aniket
parent acd94472f7
commit 4d09860d6b
  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