mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-10 10:05:38 +00:00
Add safeTxHash in txs queue & history (#2145)
This commit is contained in:
parent
f65094f0f3
commit
a995970d65
@ -12,6 +12,7 @@ export const TxSummary = ({ txDetails }: { txDetails: ExpandedTxDetails }): Reac
|
||||
const explorerUrl = txHash ? getExplorerInfo(txHash) : null
|
||||
const nonce = isMultiSigExecutionDetails(detailedExecutionInfo) ? detailedExecutionInfo.nonce : undefined
|
||||
const created = isMultiSigExecutionDetails(detailedExecutionInfo) ? detailedExecutionInfo.submittedAt : undefined
|
||||
const safeTxHash = isMultiSigExecutionDetails(detailedExecutionInfo) ? detailedExecutionInfo.safeTxHash : undefined
|
||||
|
||||
return (
|
||||
<>
|
||||
@ -27,6 +28,14 @@ export const TxSummary = ({ txDetails }: { txDetails: ExpandedTxDetails }): Reac
|
||||
</Text>
|
||||
)}
|
||||
</div>
|
||||
{safeTxHash !== undefined && (
|
||||
<div className="tx-hash">
|
||||
<Text size="xl" strong as="span">
|
||||
SafeTxHash:{' '}
|
||||
</Text>
|
||||
<InlineEthHashInfo textSize="xl" hash={safeTxHash} shortenHash={8} showCopyBtn />
|
||||
</div>
|
||||
)}
|
||||
{nonce !== undefined && (
|
||||
<div className="tx-nonce">
|
||||
<Text size="xl" strong as="span">
|
||||
|
Loading…
x
Reference in New Issue
Block a user