diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index cdd418a354..e499e2404b 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -25,7 +25,6 @@ class CompileTab { el: null, warnCompilationSlow: null, errorContainer: null, - errorContainerHead: null, contractNames: null, contractEl: null } @@ -67,7 +66,6 @@ class CompileTab { this.compiler.event.register('compilationStarted', () => { if (this._view.errorContainer) { this._view.errorContainer.innerHTML = '' - this._view.errorContainerHead.innerHTML = '' } }) @@ -337,8 +335,7 @@ class CompileTab { render () { if (this._view.el) return this._view.el - this._view.errorContainer = yo`
` - this._view.errorContainerHead = yo`
` + this._view.errorContainer = yo`
` this._view.contractSelection = this.contractSelection() this._view.compilerContainer = this.compilerContainer.render() this.compilerContainer.currentFile = this._deps.fileManager.currentFile() @@ -347,7 +344,6 @@ class CompileTab {
${this._view.compilerContainer} ${this._view.contractSelection} - ${this._view.errorContainerHead} ${this._view.errorContainer}
` return this._view.el