Skip to content

Commit

Permalink
Handle repeated AddToMetaMask clicks
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaw3d committed Jul 10, 2024
1 parent bbd28da commit 325b4ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AddToMetaMask.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ const AddToMetaMask = (props: {
blockExplorerUrls: props.be,
},
],
}).then(response => {
if (response === null) alert('Added')
})
}}
>
Expand Down

0 comments on commit 325b4ab

Please sign in to comment.