From ecf05c11c4b2c90aa4aa0753e437fc4860b1ab9d Mon Sep 17 00:00:00 2001 From: "Somayeh.Ghanavati" Date: Sat, 26 Sep 2026 10:31:58 +0330 Subject: [PATCH] refactor: move MyForm to src and rename to PascalCase --- src/App.tsx | 2 +- src/{stories/myForm.tsx => MyForm.tsx} | 0 src/stories/myForm.stories.tsx | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{stories/myForm.tsx => MyForm.tsx} (100%) diff --git a/src/App.tsx b/src/App.tsx index ceb56e5..8c1ed2a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,6 +1,6 @@ import "./App.css"; -import { MyForm } from "./stories/myForm"; +import { MyForm } from "./MyForm"; function App() { return ( diff --git a/src/stories/myForm.tsx b/src/MyForm.tsx similarity index 100% rename from src/stories/myForm.tsx rename to src/MyForm.tsx diff --git a/src/stories/myForm.stories.tsx b/src/stories/myForm.stories.tsx index 87d1a07..a032975 100644 --- a/src/stories/myForm.stories.tsx +++ b/src/stories/myForm.stories.tsx @@ -1,6 +1,6 @@ import type { Meta, StoryObj } from "@storybook/react"; import { within, userEvent, expect, fn } from "storybook/test"; -import { MyForm } from "./myForm"; +import { MyForm } from "../MyForm"; const meta: Meta = { title: "Components/MyForm",