diff --git a/src/pages/ValidatorManagement/ManageValidator/RightManageSettings/Panels/MigratePanel.tsx b/src/pages/ValidatorManagement/ManageValidator/RightManageSettings/Panels/MigratePanel.tsx index e83e1798..50410215 100644 --- a/src/pages/ValidatorManagement/ManageValidator/RightManageSettings/Panels/MigratePanel.tsx +++ b/src/pages/ValidatorManagement/ManageValidator/RightManageSettings/Panels/MigratePanel.tsx @@ -1,11 +1,14 @@ import { Button, InformationBox, Text } from '@status-im/components' import { CloseCircleIcon } from '@status-im/icons' import { YStack } from 'tamagui' +import { useState } from 'react' import KeystoreBackupsCard from '../../../../ValidatorOnboarding/KeyGeneration/KeystoreFiles/KeystoreBackupsCard' import PanelWrapper from './PanelWrapper' const MigratePanel = () => { + const [isVisibleWarning, setIsVisibleWarning] = useState(true) + const migrateValidatorHandler = () => {} return ( @@ -31,11 +34,14 @@ const MigratePanel = () => { - } - /> + {isVisibleWarning && ( + } + onClosePress={() => setIsVisibleWarning(false)} + /> + )} )