fix: add missing dispatch for set recovery pw error

pull/3056/head
William Grant 1 year ago
parent baca07a83b
commit 59eeca88ae

@ -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}

Loading…
Cancel
Save