Skip to content

Commit

Permalink
Update discover snaps CTA link (#22909)
Browse files Browse the repository at this point in the history
## **Description**


Updates the "discover snaps" CTA link to always point to
snaps.metamask.io.

## **Related issues**

Fixes: MetaMask/snaps#2180
  • Loading branch information
FrederikBolding committed Feb 13, 2024
1 parent 8a47a96 commit b5f6632
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ui/pages/snaps/snaps-list/snap-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,7 @@ const SnapList = () => {
>
<ButtonLink
size={Size.auto}
href={
snapsList.length > 0
? 'https://snaps.metamask.io/'
: 'https://metamask.io/snaps/'
}
href="https://snaps.metamask.io/"
target="_blank"
endIconName={IconName.Export}
>
Expand Down

0 comments on commit b5f6632

Please sign in to comment.