Skip to content

Commit 61731cb

Browse files
committed
fixes transaction hash on withdrawal and deposit
1 parent def4fe1 commit 61731cb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/layout/bridge/modal/BridgeConfirmModal.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,8 @@ const BridgeConfirmModalContent = () => {
312312
<NetworkIcon chainId={fromNetwork!} />
313313
<Text variant="small" >{networkDetails[fromNetwork!].name}</Text>
314314
<Text variant="small" className="text-blue-500 hover:underline">
315-
<a href={`${networkDetails[fromNetwork!]?.explorer}/tx/${depositTxHash || teleportTxHash || withdrawalTxHash}`} target="_blank" rel="noopener noreferrer">
316-
<IconLink size="20" /> {shortenString(depositTxHash || teleportTxHash || withdrawalTxHash || ''!, '...', 4)}
315+
<a href={`${networkDetails[fromNetwork!]?.explorer}/tx/${depositTxHash || teleportTxHash}`} target="_blank" rel="noopener noreferrer">
316+
<IconLink size="20" /> {shortenString(depositTxHash || teleportTxHash || ''!, '...', 4)}
317317
</a>
318318
</Text>
319319
</div>
@@ -324,8 +324,8 @@ const BridgeConfirmModalContent = () => {
324324
<NetworkIcon chainId={toNetwork!} />
325325
<Text variant="small" >{networkDetails[toNetwork!].name}</Text>
326326
<Text variant="small" className="text-blue-500 hover:underline">
327-
<a href={`${networkDetails[toNetwork!]?.explorer}/tx/${depositTxHash || teleportTxHash || withdrawalTxHash}`} target="_blank" rel="noopener noreferrer">
328-
<IconLink size="20" /> {shortenString(depositTxHash || teleportTxHash || withdrawalTxHash || ''!, '...', 4)}
327+
<a href={`${networkDetails[toNetwork!]?.explorer}/tx/${teleportTxHash || withdrawalTxHash}`} target="_blank" rel="noopener noreferrer">
328+
<IconLink size="20" /> {shortenString(teleportTxHash || withdrawalTxHash || ''!, '...', 4)}
329329
</a>
330330
</Text>
331331
</div>

0 commit comments

Comments
 (0)