Skip to content

Commit

Permalink
Handle repeated AddToMetaMask clicks
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaw3d authored Jul 4, 2024
1 parent 5809108 commit 7548ef2
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 7548ef2

Please sign in to comment.