diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/KeystoreFiles/KeystoreFiles.tsx b/src/pages/ValidatorOnboarding/KeyGeneration/KeystoreFiles/KeystoreFiles.tsx index 4c173776..c23be369 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/KeystoreFiles/KeystoreFiles.tsx +++ b/src/pages/ValidatorOnboarding/KeyGeneration/KeystoreFiles/KeystoreFiles.tsx @@ -3,6 +3,8 @@ import { Button, InformationBox, Input, Text } from '@status-im/components' import { ClearIcon, CloseCircleIcon } from '@status-im/icons' import { useState } from 'react' +import KeystoreBackupsCard from './KeystoreBackupsCard' + const KeystoreFiles = () => { const [encryptedPassword, setEncryptedPassword] = useState('') const [confirmEncryptedPassword, setConfirmEncryptedPassword] = useState('') @@ -37,15 +39,6 @@ const KeystoreFiles = () => { setDisplayConfirmEncryptedPassword(getHidedPassword(password.length)) } - const downloadKeyFilesHandler = () => { - const element = document.createElement('a') - const file = new Blob([''], { type: 'text/plain' }) - element.href = URL.createObjectURL(file) - element.download = 'keystore_files.txt' - document.body.appendChild(element) - element.click() - } - const getHidedPassword = (passwordLength: number) => { return '*'.repeat(passwordLength) } @@ -103,38 +96,7 @@ const KeystoreFiles = () => { /> - - - Download Keystore Backups - - - - Your keystore files are loaded automatically, please secure your keystore backups for - recovery. - - download-keystore-backups - - +