Skip to content

Commit

Permalink
fix(select-wallet): message while refactoring (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanosync authored Nov 16, 2023
1 parent 31b96e7 commit 73cfe31
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function SelectWalletModal({
);
}
if (err instanceof Error) {
setErrorMessage(err.toString());
setErrorMessage(err.message ?? err.toString());
} else {
// safeguard as we don't throw string errors
setErrorMessage("Unknown error occurred.");
Expand Down

0 comments on commit 73cfe31

Please sign in to comment.