diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGeneration.tsx b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGeneration.tsx
index 7d3cd5c9..deba084c 100644
--- a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGeneration.tsx
+++ b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGeneration.tsx
@@ -1,10 +1,10 @@
import { YStack } from 'tamagui'
import KeyGenerationHeader from './KeyGenerationHeader'
import RecoveryMechanism from './RecoveryMechanism'
-import { Button, InformationBox, Text } from '@status-im/components'
-import { CloseCircleIcon } from '@status-im/icons'
+import { Text } from '@status-im/components'
import PasswordFields from './PasswordFields'
import { useState } from 'react'
+import RecoveryPhrase from './RecoveryPhrase'
const KeyGeneration = () => {
const [selectedRecoveryMechanism, setSelectedRecoveryMechanism] = useState('Key Files')
@@ -23,26 +23,8 @@ const KeyGeneration = () => {
4 Validators
- {selectedRecoveryMechanism === 'Key Files' && (
- <>
-
- }
- />
- >
- )}
- {selectedRecoveryMechanism === 'Recovery Phrase' && (
- <>
-
- }
- />
- >
- )}
+ {selectedRecoveryMechanism === 'Key Files' && }
+ {selectedRecoveryMechanism === 'Recovery Phrase' && }
)
}
diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/PasswordFields.tsx b/src/pages/ValidatorOnboarding/KeyGeneration/PasswordFields.tsx
index 6799a8f8..067f779a 100644
--- a/src/pages/ValidatorOnboarding/KeyGeneration/PasswordFields.tsx
+++ b/src/pages/ValidatorOnboarding/KeyGeneration/PasswordFields.tsx
@@ -1,9 +1,9 @@
import { XStack, YStack } from 'tamagui'
-import { Button, Input, Text } from '@status-im/components'
-import { ClearIcon } from '@status-im/icons'
+import { Button, InformationBox, Input, Text } from '@status-im/components'
+import { ClearIcon, CloseCircleIcon } from '@status-im/icons'
+import { useState } from 'react'
import BorderBox from '../../../components/General/BorderBox'
-import { useState } from 'react'
const PasswordFields = () => {
const [encryptedPassword, setEncryptedPassword] = useState('')
@@ -75,6 +75,11 @@ const PasswordFields = () => {
+ }
+ />
)
}