Skip to content

Commit

Permalink
mm mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Jun 6, 2023
1 parent 18b03ef commit 8d5dd0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bridge-ui/src/components/AddTokenToWallet.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
});
} catch (e) {
if (e.code === 4001) {
if (e.code === 4001 || e?.data?.originalError?.code === 4001) {
warningToast('Adding token has been rejected.');
} else {
errorToast('Failed to add token to wallet');
Expand Down

0 comments on commit 8d5dd0a

Please sign in to comment.