removed third params in ReactDom.render for terminal

pull/5370/head
davidzagi93@gmail.com 3 years ago
parent 14813906b7
commit 94b4406ef9
  1. 7
      apps/remix-ide/src/app/panels/terminal.js
  2. 1
      libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx

@ -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) => {
} }
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

Loading…
Cancel
Save