From 94b4406ef9e8b6bf2c9e429deec6cb1c109d8af7 Mon Sep 17 00:00:00 2001 From: "davidzagi93@gmail.com" Date: Wed, 18 Aug 2021 11:22:58 +0100 Subject: [PATCH] removed third params in ReactDom.render for terminal --- apps/remix-ide/src/app/panels/terminal.js | 7 +------ libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/remix-ide/src/app/panels/terminal.js b/apps/remix-ide/src/app/panels/terminal.js index 4e73323bb7..c595e952f3 100644 --- a/apps/remix-ide/src/app/panels/terminal.js +++ b/apps/remix-ide/src/app/panels/terminal.js @@ -139,12 +139,7 @@ class Terminal extends Plugin { txListener = {this.txListener} eventsDecoder = {this.eventsDecoder} />, - this.element, - () => { - this.blockchain.events.on('newTransaction', (tx, receipt) => { - this.emit('newTransaction', tx, receipt) - }) - } + this.element ) } diff --git a/libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx b/libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx index 5609b20d39..7d05de3d03 100644 --- a/libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx +++ b/libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx @@ -544,7 +544,6 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => { } const showTable = (opts) => { - console.log({ opts }, ' show table') let msg = '' let toHash const data = opts.data // opts.data = data.tx