diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGeneration.tsx b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGeneration.tsx index 5ba1dbe8..f0b06f99 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGeneration.tsx +++ b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGeneration.tsx @@ -33,7 +33,7 @@ const KeyGeneration = () => { {isKeyFiles && } - {isRecoveryPhrase && } + {isRecoveryPhrase && } ) } diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx index 531c707f..cd28c1f0 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx +++ b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryPhrase.tsx @@ -3,7 +3,11 @@ import { Button, InformationBox, Text } from '@status-im/components' import { CloseCircleIcon } from '@status-im/icons' import { useState } from 'react' -const RecoveryPhrase = () => { +type RecoveryPhraseProps = { + isKeyFiles: boolean +} + +const RecoveryPhrase = ({ isKeyFiles }: RecoveryPhraseProps) => { const [isReveal, setIsReveal] = useState(false) const revealHandler = () => { @@ -11,7 +15,7 @@ const RecoveryPhrase = () => { } return ( - +