Commit 7d8404a1 authored by davidzagi93@gmail.com's avatar davidzagi93@gmail.com

removed third params in ReactDom.render for terminal

parent d9c70f09
...@@ -139,12 +139,7 @@ class Terminal extends Plugin { ...@@ -139,12 +139,7 @@ class Terminal extends Plugin {
txListener = {this.txListener} txListener = {this.txListener}
eventsDecoder = {this.eventsDecoder} eventsDecoder = {this.eventsDecoder}
/>, />,
this.element, this.element
() => {
this.blockchain.events.on('newTransaction', (tx, receipt) => {
this.emit('newTransaction', tx, receipt)
})
}
) )
} }
......
...@@ -544,7 +544,6 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => { ...@@ -544,7 +544,6 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
} }
const showTable = (opts) => { const showTable = (opts) => {
console.log({ opts }, ' show table')
let msg = '' let msg = ''
let toHash let toHash
const data = opts.data // opts.data = data.tx const data = opts.data // opts.data = data.tx
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment