From b51a54596ec64f35845e3245b17abff91776ed39 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Thu, 24 Aug 2023 10:29:59 +0300 Subject: [PATCH] fix: stepper name collision --- .../{StepperStyles.css => FormStepper.css} | 0 .../{Stepper.stories.tsx => FormStepper.stories.tsx} | 8 ++++---- .../ValidatorOnboarding/{Stepper.tsx => FormStepper.tsx} | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename src/pages/ValidatorOnboarding/{StepperStyles.css => FormStepper.css} (100%) rename src/pages/ValidatorOnboarding/{Stepper.stories.tsx => FormStepper.stories.tsx} (63%) rename src/pages/ValidatorOnboarding/{Stepper.tsx => FormStepper.tsx} (98%) diff --git a/src/pages/ValidatorOnboarding/StepperStyles.css b/src/pages/ValidatorOnboarding/FormStepper.css similarity index 100% rename from src/pages/ValidatorOnboarding/StepperStyles.css rename to src/pages/ValidatorOnboarding/FormStepper.css diff --git a/src/pages/ValidatorOnboarding/Stepper.stories.tsx b/src/pages/ValidatorOnboarding/FormStepper.stories.tsx similarity index 63% rename from src/pages/ValidatorOnboarding/Stepper.stories.tsx rename to src/pages/ValidatorOnboarding/FormStepper.stories.tsx index 073ecd98..137491db 100644 --- a/src/pages/ValidatorOnboarding/Stepper.stories.tsx +++ b/src/pages/ValidatorOnboarding/FormStepper.stories.tsx @@ -1,16 +1,16 @@ import type { Meta, StoryObj } from '@storybook/react' -import StepperForm from './Stepper' +import FormStepper from './FormStepper' const meta = { - title: 'ValidatorOnboarding/Stepper', - component: StepperForm, + title: 'ValidatorOnboarding/FormStepper', + component: FormStepper, parameters: { layout: 'centered', }, tags: ['autodocs'], argTypes: {}, -} satisfies Meta +} satisfies Meta export default meta type Story = StoryObj diff --git a/src/pages/ValidatorOnboarding/Stepper.tsx b/src/pages/ValidatorOnboarding/FormStepper.tsx similarity index 98% rename from src/pages/ValidatorOnboarding/Stepper.tsx rename to src/pages/ValidatorOnboarding/FormStepper.tsx index bb1ea79d..294f0fc4 100644 --- a/src/pages/ValidatorOnboarding/Stepper.tsx +++ b/src/pages/ValidatorOnboarding/FormStepper.tsx @@ -1,6 +1,6 @@ -import './StepperStyles.css' import { useState } from 'react' import { Stepper, Step } from 'react-form-stepper' +import './FormStepper.css' const FormStepper = () => { const [activeStep, setActiveStep] = useState(0)