fix logging calls

pull/4202/head
yann300 1 year ago committed by Aniket
parent d3385adac2
commit ad26f1dceb
  1. 4
      libs/remix-ui/terminal/src/lib/components/Context.tsx

@ -47,7 +47,7 @@ const Context = ({opts, provider}: {opts; provider: string}) => {
<div>
<span>
<span className="remix_ui_terminal_tx">
[block:{block.toString()} txIndex:{i.toString()}]
[block:{block.toString()} txIndex:{i ? i.toString() : '-'}]
</span>
<div className="remix_ui_terminal_txItem">
<span className="remix_ui_terminal_txItemTitle">from:</span> {from}
@ -76,7 +76,7 @@ const Context = ({opts, provider}: {opts; provider: string}) => {
<div>
<span>
<span className="remix_ui_terminal_tx">
[block:{block.toString()} txIndex:{i.toString()}]
[block:{block.toString()} txIndex:{i ? i.toString() : '-'}]
</span>
<div className="remix_ui_terminal_txItem">
<span className="remix_ui_terminal_txItemTitle">from:</span> {from}

Loading…
Cancel
Save