Skip to content

Commit 11ccd21

Browse files
committed
put data box label around OP RETURN
1 parent 8e9e96d commit 11ccd21

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/insight/src/components/transaction-details.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,10 @@ const TransactionDetails: FC<TransactionDetailsProps> = ({
300300
</TextElipsis>
301301
</DataBox>
302302
)}
303-
{isOpReturn(vo) && <ScriptText>{getOpReturnText(vo)}</ScriptText>}
303+
{isOpReturn(vo) &&
304+
<DataBox label="Text">
305+
<ScriptText>{getOpReturnText(vo)}</ScriptText>
306+
</DataBox>}
304307
{vo.script && (
305308
<>
306309
<DataBox label='Script Hex'>{new lib.Script(vo.script).toHex()}</DataBox>

0 commit comments

Comments
 (0)