From 4c7c6b92da30f720076ba6073b458944f667edda Mon Sep 17 00:00:00 2001 From: filip mertens Date: Sun, 13 Feb 2022 17:26:29 +0100 Subject: [PATCH] udapp --- apps/remix-ide/src/app/panels/tab-proxy.js | 1 - apps/remix-ide/src/app/udapp/run-tab.js | 10 +--------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/apps/remix-ide/src/app/panels/tab-proxy.js b/apps/remix-ide/src/app/panels/tab-proxy.js index 267b54d853..2277ab07f9 100644 --- a/apps/remix-ide/src/app/panels/tab-proxy.js +++ b/apps/remix-ide/src/app/panels/tab-proxy.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) diff --git a/apps/remix-ide/src/app/udapp/run-tab.js b/apps/remix-ide/src/app/udapp/run-tab.js index 5fe56053fa..63de28c3e6 100644 --- a/apps/remix-ide/src/app/udapp/run-tab.js +++ b/apps/remix-ide/src/app/udapp/run-tab.js @@ -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 } - renderComponent () { - ReactDOM.render( - - , this.el) - } onReady (api) { this.REACT_API = api