Skip to content

Commit

Permalink
fix: update error message for cancel or speed up when using ledger (M…
Browse files Browse the repository at this point in the history
…etaMask#17)

- add unknown error message display on ledger dialog
  • Loading branch information
stanleyyconsensys committed Aug 1, 2023
1 parent 003be26 commit 3f7ce35
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/components/UI/LedgerModals/LedgerConfirmationModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ const LedgerConfirmationModal = ({
});
break;
case LedgerCommunicationErrors.UnknownError:
setErrorDetails({
title: strings('ledger.unknown_error'),
subtitle: strings('ledger.unknown_error_message'),
});
break;
case LedgerCommunicationErrors.LedgerDisconnected:
default:
setErrorDetails({
Expand Down

0 comments on commit 3f7ce35

Please sign in to comment.