CompileTab: refactor element el

pull/1/head
serapath 7 years ago
parent 158690393f
commit fedd7cfa8b
  1. 4
      src/app/tabs/compile-tab.js

@ -151,7 +151,7 @@ module.exports = class CompileTab {
<div title="Publish on Swarm" class="${css.publish}" onclick=${publish}>Publish on Swarm</div>
</div>
</div>`
var el = yo`
self._view.el = yo`
<div class="${css.compileTabView}" id="compileTabView">
${self._view.compileContainer}
${self._view.contractEl}
@ -275,7 +275,7 @@ module.exports = class CompileTab {
}
}
}
return { render () { return el } }
return { render () { return self._view.el } }
}
}

Loading…
Cancel
Save