fix(recovery phrase): don't change phrase on back button
This commit is contained in:
parent
a406e0d14a
commit
8c4cb7bc6c
|
@ -24,7 +24,9 @@ const RecoveryPhrase = ({ isKeystoreFiles }: RecoveryPhraseProps) => {
|
|||
const dispatch = useDispatch()
|
||||
|
||||
useEffect(() => {
|
||||
getMnemonic()
|
||||
if (generatedMnemonic.length === 0) {
|
||||
getMnemonic()
|
||||
}
|
||||
}, [])
|
||||
|
||||
const getMnemonic = async () => {
|
||||
|
|
Loading…
Reference in New Issue