pull/2074/head
filip mertens 3 years ago
parent fe79574c58
commit 4c7c6b92da
  1. 1
      apps/remix-ide/src/app/panels/tab-proxy.js
  2. 10
      apps/remix-ide/src/app/udapp/run-tab.js

@ -11,7 +11,6 @@ const profile = {
kind: 'other'
}
// @todo(#650) Merge this with MainPanel into one plugin
export class TabProxy extends Plugin {
constructor (fileManager, editor) {
super(profile)

@ -40,9 +40,6 @@ export class RunTab extends ViewPlugin {
this.el = document.createElement('div')
}
onActivation () {
this.renderComponent()
}
setupEvents () {
this.blockchain.events.on('newTransaction', (tx, receipt) => {
@ -86,14 +83,9 @@ export class RunTab extends ViewPlugin {
}
render () {
return this.el
return <RunTabUI plugin={this} />
}
renderComponent () {
ReactDOM.render(
<RunTabUI plugin={this} />
, this.el)
}
onReady (api) {
this.REACT_API = api

Loading…
Cancel
Save