diff --git a/src/pages/OnboardingPage/OnboardingPage.tsx b/src/pages/OnboardingPage/OnboardingPage.tsx index fc8aa096..de7e69c3 100644 --- a/src/pages/OnboardingPage/OnboardingPage.tsx +++ b/src/pages/OnboardingPage/OnboardingPage.tsx @@ -1,6 +1,8 @@ import { useState } from 'react'; -import { StepField, StepService, StepStart } from './components'; +import StepField from './StepField/StepField'; +import StepService from './StepService/StepService'; +import StepStart from './StepStart/StepStart'; import { FIELDS } from './constants'; import { useFunnel } from './hooks/useFunnel'; diff --git a/src/pages/OnboardingPage/components/Step/StepField/StepField.tsx b/src/pages/OnboardingPage/StepField/StepField.tsx similarity index 100% rename from src/pages/OnboardingPage/components/Step/StepField/StepField.tsx rename to src/pages/OnboardingPage/StepField/StepField.tsx diff --git a/src/pages/OnboardingPage/components/Step/StepService/components/BoxAllowedService/BoxAllowedService.tsx b/src/pages/OnboardingPage/StepService/BoxAllowedService/BoxAllowedService.tsx similarity index 100% rename from src/pages/OnboardingPage/components/Step/StepService/components/BoxAllowedService/BoxAllowedService.tsx rename to src/pages/OnboardingPage/StepService/BoxAllowedService/BoxAllowedService.tsx diff --git a/src/pages/OnboardingPage/components/Step/StepService/components/ButtonService/ButtonService.tsx b/src/pages/OnboardingPage/StepService/ButtonService/ButtonService.tsx similarity index 100% rename from src/pages/OnboardingPage/components/Step/StepService/components/ButtonService/ButtonService.tsx rename to src/pages/OnboardingPage/StepService/ButtonService/ButtonService.tsx diff --git a/src/pages/OnboardingPage/components/Step/StepService/StepService.tsx b/src/pages/OnboardingPage/StepService/StepService.tsx similarity index 95% rename from src/pages/OnboardingPage/components/Step/StepService/StepService.tsx rename to src/pages/OnboardingPage/StepService/StepService.tsx index 0c611537..8c36697c 100644 --- a/src/pages/OnboardingPage/components/Step/StepService/StepService.tsx +++ b/src/pages/OnboardingPage/StepService/StepService.tsx @@ -2,7 +2,9 @@ import { ChangeEvent, KeyboardEvent, useState } from 'react'; import { BackIcon } from '@/shared/assets/home/svgs'; -import { BoxAllowedService, ButtonService, Tabs } from './components'; +import BoxAllowedService from './BoxAllowedService/BoxAllowedService'; +import ButtonService from './ButtonService/ButtonService'; +import Tabs from './Tabs/Tabs'; interface StepServiceProps { setStep: (step: string) => void; diff --git a/src/pages/OnboardingPage/components/Step/StepService/components/Tabs/Tabs.tsx b/src/pages/OnboardingPage/StepService/Tabs/Tabs.tsx similarity index 100% rename from src/pages/OnboardingPage/components/Step/StepService/components/Tabs/Tabs.tsx rename to src/pages/OnboardingPage/StepService/Tabs/Tabs.tsx diff --git a/src/pages/OnboardingPage/components/Step/StepStart/StepStart.tsx b/src/pages/OnboardingPage/StepStart/StepStart.tsx similarity index 100% rename from src/pages/OnboardingPage/components/Step/StepStart/StepStart.tsx rename to src/pages/OnboardingPage/StepStart/StepStart.tsx diff --git a/src/pages/OnboardingPage/components/Step/StepService/components/index.ts b/src/pages/OnboardingPage/components/Step/StepService/components/index.ts deleted file mode 100644 index b60b257c..00000000 --- a/src/pages/OnboardingPage/components/Step/StepService/components/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export { default as BoxAllowedService } from './BoxAllowedService/BoxAllowedService'; -export { default as ButtonService } from './ButtonService/ButtonService'; -export { default as Tabs } from './Tabs/Tabs'; diff --git a/src/pages/OnboardingPage/components/index.ts b/src/pages/OnboardingPage/components/index.ts deleted file mode 100644 index 27d24eb0..00000000 --- a/src/pages/OnboardingPage/components/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export { default as StepStart } from './Step/StepStart/StepStart.tsx'; -export { default as StepField } from './Step/StepField/StepField.tsx'; -export { default as StepService } from './Step/StepService/StepService.tsx';