pull/2849/head
Aniket-Engg 2 years ago committed by Aniket
parent 3c63a244f4
commit 10797980df
  1. 3
      libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx

@ -554,7 +554,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
return (
<div className={classNameBlock} data-id="block" key={i}><span className={x.style}>{ parse(msg.value) } </span></div>
)
}
} else if ((Object.keys(msg).length)) {
let stringified
try {
stringified = JSON.stringify(msg)
@ -565,6 +565,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
return (
<div className={classNameBlock} data-id="block" key={i}><span className={x.style}>{ stringified } </span></div>
)
}
} else {
return (
<div className={classNameBlock} data-id="block" key={i}><span className={x.style}>{msg ? msg.toString() : null}</span></div>

Loading…
Cancel
Save