diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx index 686c2929..49706374 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx +++ b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx @@ -24,6 +24,10 @@ const RecoveryPhrase = ({ isKeystoreFiles }: RecoveryPhraseProps) => { getMnemonic() }, []) + useEffect(() => { + setIsCopied(false) + }, [generatedMnemonic]) + const getMnemonic = async () => { const mnemonic = await generateMnemonic(wordlist, 256) dispatch(setGeneratedMnemonic(mnemonic.split(' ')))