diff --git a/site/src/utils/formUtils.stories.tsx b/site/src/utils/formUtils.stories.tsx index 7372307bf6..2c0d2fc7bf 100644 --- a/site/src/utils/formUtils.stories.tsx +++ b/site/src/utils/formUtils.stories.tsx @@ -1,9 +1,8 @@ -import TextField from "@mui/material/TextField"; import type { Meta, StoryObj } from "@storybook/react-vite"; import { useFormik } from "formik"; import type { FC } from "react"; import { action } from "storybook/actions"; -import { Form } from "#/components/Form/Form"; +import { FormField } from "#/components/FormField/FormField"; import { getFormHelpers } from "./formUtils"; interface ExampleFormProps { @@ -22,13 +21,7 @@ const ExampleForm: FC = ({ value, maxLength }) => { const getFieldHelpers = getFormHelpers(form, null); return ( -
- - + ); }; @@ -38,7 +31,7 @@ const meta: Meta = { }; export default meta; -type Story = StoryObj; +type Story = StoryObj; export const UnderMaxLength: Story = { args: {