Skip to content

Commit 426120c

Browse files
chore: add nofollow to asset links (#95)
* fix: add nofollow to asset links * chore: add nofollow to asset config transaction details as well --------- Co-authored-by: Neil Campbell <[email protected]>
1 parent a17192e commit 426120c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/features/assets/components/asset-details.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export function AssetDetails({ asset }: Props) {
9090
? {
9191
dt: assetUrlLabel,
9292
dd: (
93-
<a href={asset.url} className={cn('text-primary underline')}>
93+
<a href={asset.url} className={cn('text-primary underline')} rel="nofollow" target="_blank">
9494
{asset.url}
9595
</a>
9696
),

src/features/transactions/components/asset-config-transaction-info.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function AssetConfigTransactionInfo({ transaction }: Props) {
4141
? {
4242
dt: assetUrlLabel,
4343
dd: (
44-
<a href={transaction.url} className={cn('text-primary underline')}>
44+
<a href={transaction.url} className={cn('text-primary underline')} rel="nofollow" target="_blank">
4545
{transaction.url}
4646
</a>
4747
),

0 commit comments

Comments
 (0)