diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationHeader.tsx b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationHeader.tsx index 886528f3..f56e01e3 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationHeader.tsx +++ b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationHeader.tsx @@ -1,5 +1,5 @@ import { XStack } from 'tamagui' -import SyncCard from './SyncCard' +import KeyGenerationSyncCard from './KeyGenerationSyncCard' import KeyGenerationTitle from './KeyGenerationTitle' const KeyGenerationHeader = () => { @@ -7,8 +7,8 @@ const KeyGenerationHeader = () => { - - + + ) diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/SyncCard.stories.ts b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationSyncCard.stories.ts similarity index 62% rename from src/pages/ValidatorOnboarding/KeyGeneration/SyncCard.stories.ts rename to src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationSyncCard.stories.ts index 0cfc8197..9873c600 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/SyncCard.stories.ts +++ b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationSyncCard.stories.ts @@ -1,16 +1,16 @@ import type { Meta, StoryObj } from '@storybook/react' -import SyncCard from './SyncCard' +import KeyGenerationSyncCard from './KeyGenerationSyncCard' const meta = { - title: 'ValidatorOnboarding/SyncCard', - component: SyncCard, + title: 'ValidatorOnboarding/KeyGenerationSyncCard', + component: KeyGenerationSyncCard, parameters: { layout: 'centered', }, tags: ['autodocs'], argTypes: {}, -} satisfies Meta +} satisfies Meta export default meta type Story = StoryObj diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/SyncCard.tsx b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationSyncCard.tsx similarity index 87% rename from src/pages/ValidatorOnboarding/KeyGeneration/SyncCard.tsx rename to src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationSyncCard.tsx index ce399e64..8208dcb9 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/SyncCard.tsx +++ b/src/pages/ValidatorOnboarding/KeyGeneration/KeyGenerationSyncCard.tsx @@ -3,13 +3,13 @@ import StandardGauge from '../../../components/Charts/StandardGauge' import { ClearIcon } from '@status-im/icons' import { Text } from '@status-im/components' -type SyncCardProps = { +type KeyGenerationSyncCardProps = { synced: number total: number title: string } -const SyncCard = ({ synced, total, title }: SyncCardProps) => { +const KeyGenerationSyncCard = ({ synced, total, title }: KeyGenerationSyncCardProps) => { const data = () => { return [ { @@ -54,4 +54,4 @@ const SyncCard = ({ synced, total, title }: SyncCardProps) => { ) } -export default SyncCard +export default KeyGenerationSyncCard