Skip to content

Commit

Permalink
chore: add nofollow to asset links (#95)
Browse files Browse the repository at this point in the history
* fix: add nofollow to asset links
* chore: add nofollow to asset config transaction details as well

---------

Co-authored-by: Neil Campbell <[email protected]>
  • Loading branch information
negar-abbasi and neilcampbell authored Jun 14, 2024
1 parent a17192e commit 426120c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/features/assets/components/asset-details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export function AssetDetails({ asset }: Props) {
? {
dt: assetUrlLabel,
dd: (
<a href={asset.url} className={cn('text-primary underline')}>
<a href={asset.url} className={cn('text-primary underline')} rel="nofollow" target="_blank">
{asset.url}
</a>
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function AssetConfigTransactionInfo({ transaction }: Props) {
? {
dt: assetUrlLabel,
dd: (
<a href={transaction.url} className={cn('text-primary underline')}>
<a href={transaction.url} className={cn('text-primary underline')} rel="nofollow" target="_blank">
{transaction.url}
</a>
),
Expand Down

0 comments on commit 426120c

Please sign in to comment.