diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationHeader/KeyGenerationSyncCard.tsx b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationHeader/KeyGenerationSyncCard.tsx index a9f8ba79..ecdc91aa 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationHeader/KeyGenerationSyncCard.tsx +++ b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationHeader/KeyGenerationSyncCard.tsx @@ -1,7 +1,6 @@ import { Stack, XStack, YStack } from 'tamagui' import { ClearIcon } from '@status-im/icons' import { Text } from '@status-im/components' -import { useState } from 'react' import StandardGauge from '../../../../components/Charts/StandardGauge' import BorderBox from '../../../../components/General/BorderBox' @@ -15,16 +14,6 @@ type KeyGenerationSyncCardProps = { } const KeyGenerationSyncCard = ({ synced, total, title, color }: KeyGenerationSyncCardProps) => { - const [isOpen, setIsOpen] = useState(true) - - const closeCardHanlder = () => { - setIsOpen(false) - } - - if (isOpen === false) { - return null - } - return ( @@ -59,12 +48,7 @@ const KeyGenerationSyncCard = ({ synced, total, title, color }: KeyGenerationSyn {formatNumbersWithComa(synced)} / {formatNumbersWithComa(total)} - + )