Skip to content

Commit 4938229

Browse files
authored
Update create-your-first-crud.mdx
1 parent 4b7dff5 commit 4938229

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/tutorials/create-your-first-crud.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1429,7 +1429,7 @@ Create the `ProjectForm.tsx` in the `src/features/projects` folder and with the
14291429
import { Stack } from "@chakra-ui/react";
14301430
import { useFormContext } from "react-hook-form";
14311431

1432-
import { FormField } from "@/components/Form";
1432+
import { FormField, FormFieldLabel, FormFieldController } from "@/components/Form";
14331433
import { FormFieldsProject } from "@/features/projects/schemas";
14341434

14351435
export const ProjectForm = () => {
@@ -1444,7 +1444,7 @@ export const ProjectForm = () => {
14441444

14451445
<FormField>
14461446
<FormFieldLabel optionalityHint="optional">Description</FormFieldLabel>
1447-
<FormField
1447+
<FormFieldController
14481448
control={form.control}
14491449
type="textarea"
14501450
name="description"

0 commit comments

Comments
 (0)