From 59eeca88aecfed26faa77b5efc0b74c8b1f6c2b9 Mon Sep 17 00:00:00 2001 From: William Grant Date: Mon, 25 Mar 2024 15:10:23 +1100 Subject: [PATCH] fix: add missing dispatch for set recovery pw error --- ts/components/registration/stages/RestoreAccount.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ts/components/registration/stages/RestoreAccount.tsx b/ts/components/registration/stages/RestoreAccount.tsx index 57cc4449c..957b42446 100644 --- a/ts/components/registration/stages/RestoreAccount.tsx +++ b/ts/components/registration/stages/RestoreAccount.tsx @@ -236,8 +236,10 @@ export const RestoreAccount = () => { value={recoveryPassword} onValueChanged={(seed: string) => { dispatch(setRecoveryPassword(seed)); - setRecoveryPasswordError( - !seed ? window.i18n('recoveryPhraseEmpty') : undefined + dispatch( + setRecoveryPasswordError( + !seed ? window.i18n('recoveryPhraseEmpty') : undefined + ) ); }} onEnterPressed={recoverAndFetchDisplayName}