Skip to content

Commit 8e1ab04

Browse files
committed
fix: account can't be undefined
1 parent a308fc4 commit 8e1ab04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/extension-polkagate/src/fullscreen/partials/ForgetAccountModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export default function ForgetAccountModal ({ account, setDisplayPopup }: Props)
9393
setIsBusy(false);
9494
console.error('Error forgetting the account:', error);
9595
}
96-
}, [account.address, account?.name, backToAccount, notOnHome, needsPasswordConfirmation, notify, onAction, password, t, updateAuthAccountsList]);
96+
}, [account.address, account.name, backToAccount, notOnHome, needsPasswordConfirmation, notify, onAction, password, t, updateAuthAccountsList]);
9797

9898
const onChangePass = useCallback((pass: string): void => {
9999
setPassword(pass);

0 commit comments

Comments
 (0)