Tweak to 'tx-content' component as conditional rendering was no longer needed
This commit is contained in:
parent
edbf8244df
commit
a160c54688
@ -28,12 +28,8 @@ export const TxContent = ({ data }: TxContentProps) => {
|
|||||||
</TableRow>
|
</TableRow>
|
||||||
</Table>
|
</Table>
|
||||||
|
|
||||||
{data.Command && (
|
|
||||||
<>
|
|
||||||
<h3 className="font-mono mb-8">Decoded transaction content</h3>
|
<h3 className="font-mono mb-8">Decoded transaction content</h3>
|
||||||
<SyntaxHighlighter data={JSON.parse(data.Command)} />
|
<SyntaxHighlighter data={JSON.parse(data.Command)} />
|
||||||
</>
|
</>
|
||||||
)}
|
|
||||||
</>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user