Skip to content

Commit

Permalink
fix(extension): reload app on ledger disconnect during onboarding (#913)
Browse files Browse the repository at this point in the history
  • Loading branch information
vetalcore authored Feb 27, 2024
1 parent ca35619 commit 44009f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,8 @@ export const HardwareWalletFlow = ({
const onRetry = () => {
setIsErrorDialogVisible(false);
goBackToConnect();
// TODO: Remove this workaround with full app reload when SDK allows to connect Hardware Wallet for the 2nd time.
onAppReload();
};

const handleStartOver = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export const WalletSetupWalletNameStep = ({
label={translations.walletName}
value={walletName}
onChange={handleNameChange}
autoFocus
/>
{isDirty && walletName && !isNameValid && (
<p className={styles.formError} data-testid="wallet-setup-register-name-error">
Expand Down

0 comments on commit 44009f6

Please sign in to comment.