Skip to content

Commit

Permalink
Add check for user rejected signing.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmkm committed Jul 7, 2023
1 parent 489b567 commit 89bf8be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/composables/useTransactionErrors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export function isUserRejected(error): boolean {
/user denied transaction signature/,
/user disapproved requested methods/,
/canceled/,
/user rejected signing/,
];

return isErrorType(error, messages);
Expand Down

0 comments on commit 89bf8be

Please sign in to comment.