fix(trading): add missing block explorer link for complete transfer (#3181)
This commit is contained in:
parent
e5ebaf02d2
commit
c599b02c89
@ -523,6 +523,16 @@ const VegaTxCompleteToastsContent = ({ tx }: VegaTxToastContentProps) => {
|
|||||||
<div>
|
<div>
|
||||||
<h3 className="font-bold">{t('Transfer complete')}</h3>
|
<h3 className="font-bold">{t('Transfer complete')}</h3>
|
||||||
<p>{t('Your transaction has been confirmed ')}</p>
|
<p>{t('Your transaction has been confirmed ')}</p>
|
||||||
|
{tx.txHash && (
|
||||||
|
<p className="break-all">
|
||||||
|
<ExternalLink
|
||||||
|
href={explorerLink(EXPLORER_TX.replace(':hash', tx.txHash))}
|
||||||
|
rel="noreferrer"
|
||||||
|
>
|
||||||
|
{t('View in block explorer')}
|
||||||
|
</ExternalLink>
|
||||||
|
</p>
|
||||||
|
)}
|
||||||
<VegaTransactionDetails tx={tx} />
|
<VegaTransactionDetails tx={tx} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user