fix link to etherscan in notification

This commit is contained in:
Jakub Kotula 2023-11-06 16:51:39 +01:00
parent 9762c401fe
commit fdc0663041
No known key found for this signature in database
GPG Key ID: 0FE3021F80BF90C9
1 changed files with 5 additions and 1 deletions

View File

@ -29,7 +29,11 @@ export function NotificationItem({ publicKey, text, transaction }: NotificationI
<NotificationText>
<span>{communityDetails.name}</span> {text}
</NotificationText>
<NotificationLink href={getExplorerTransactionLink(transaction.hash, transaction.chainId)}>
<NotificationLink
href={getExplorerTransactionLink(transaction.hash, transaction.chainId)}
target="_blank"
rel="noopener noreferrer"
>
View on Etherscan
</NotificationLink>
</NotificationContent>