Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
a0ngo committed Dec 24, 2024
1 parent 151ea80 commit 64eeb41
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions apps/recovery-relay/components/WithdrawModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,14 @@ export const WithdrawModal = () => {
},
}}
>
<Typography variant='body1'>Transaction Hash:</Typography>
{
<Typography variant='body1'>Transaction Hash:</Typography>
{asset.getExplorerUrl ? (
<Link href={asset.getExplorerUrl!('tx')(txHash)} target='_blank' rel='noopener noreferrer'>
{txHash}
</Link>
}
) : (
{txHash}
)}
</Typography>
<Typography variant='body1'>
The transaction might take a few seconds to appear on the block explorer
Expand Down

0 comments on commit 64eeb41

Please sign in to comment.