From 0ea0c478ddf978804a7ddc8cb4a8c20380d651ee Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Wed, 30 Aug 2023 11:52:32 +0300 Subject: [PATCH] feat: move recovery mechanism in separated folder --- .../{ => RecoveryMechanism}/RecoveryMechanism.stories.ts | 2 +- .../KeyGeneration/{ => RecoveryMechanism}/RecoveryMechanism.tsx | 2 +- .../{ => RecoveryMechanism}/RecoveryMechanismCard.stories.ts | 2 +- .../{ => RecoveryMechanism}/RecoveryMechanismCard.tsx | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename src/pages/ValidatorOnboarding/KeyGeneration/{ => RecoveryMechanism}/RecoveryMechanism.stories.ts (90%) rename src/pages/ValidatorOnboarding/KeyGeneration/{ => RecoveryMechanism}/RecoveryMechanism.tsx (97%) rename src/pages/ValidatorOnboarding/KeyGeneration/{ => RecoveryMechanism}/RecoveryMechanismCard.stories.ts (91%) rename src/pages/ValidatorOnboarding/KeyGeneration/{ => RecoveryMechanism}/RecoveryMechanismCard.tsx (100%) diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism.stories.ts b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanism.stories.ts similarity index 90% rename from src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism.stories.ts rename to src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanism.stories.ts index ab7d468f..3484925b 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism.stories.ts +++ b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanism.stories.ts @@ -1,7 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react' import RecoveryMechanism from './RecoveryMechanism' -import { KEYSTORE_FILES } from '../../../constants' +import { KEYSTORE_FILES } from '../../../../constants' const meta = { title: 'ValidatorOnboarding/RecoveryMechanism', diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism.tsx b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanism.tsx similarity index 97% rename from src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism.tsx rename to src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanism.tsx index 2574ac97..fd768bb4 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism.tsx +++ b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanism.tsx @@ -2,7 +2,7 @@ import { Text } from '@status-im/components' import { XStack, YStack } from 'tamagui' import RecoveryMechanismCard from './RecoveryMechanismCard' -import { BOTH_KEY_AND_RECOVERY, KEYSTORE_FILES, RECOVERY_PHRASE } from '../../../constants' +import { BOTH_KEY_AND_RECOVERY, KEYSTORE_FILES, RECOVERY_PHRASE } from '../../../../constants' type RecoveryMechanismProps = { recoveryMechanism: string diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanismCard.stories.ts b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanismCard.stories.ts similarity index 91% rename from src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanismCard.stories.ts rename to src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanismCard.stories.ts index 048a9262..d5c38d9e 100644 --- a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanismCard.stories.ts +++ b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanismCard.stories.ts @@ -1,7 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react' import RecoveryMechanismCard from './RecoveryMechanismCard' -import { KEYSTORE_FILES } from '../../../constants' +import { KEYSTORE_FILES } from '../../../../constants' const meta = { title: 'ValidatorOnboarding/RecoveryMechanismCard', diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanismCard.tsx b/src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanismCard.tsx similarity index 100% rename from src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanismCard.tsx rename to src/pages/ValidatorOnboarding/KeyGeneration/RecoveryMechanism/RecoveryMechanismCard.tsx