diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx index a253a059..a80b74da 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx +++ b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx @@ -31,6 +31,15 @@ const RecoveryPhrase = ({ isKeystoreFiles }: RecoveryPhraseProps) => { setIsReveal(state => !state) } + const copyRecoveryPhraseHandler = () => { + if (isKeystoreFiles) { + return + } + + const text = generatedMnemonic.join(' ') + navigator.clipboard.writeText(text) + } + return ( { width: '100%', }} > - +