Skip to content

Commit 007bf64

Browse files
authored
Update create-your-first-crud.mdx
1 parent dad8246 commit 007bf64

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,11 +1675,11 @@ import {
16751675
} from "@/features/projects/schemas";
16761676
import { trpc } from "@/lib/trpc/client";
16771677
import { isErrorDatabaseConflict } from "@/lib/trpc/errors";
1678-
1678+
16791679
export default function PageAdminProjectCreate() {
16801680
const trpcUtils = trpc.useUtils();
16811681
const router = useRouter();
1682-
1682+
16831683
const createProject = trpc.projects.create.useMutation({
16841684
onSuccess: async () => {
16851685
await trpcUtils.projects.getAll.invalidate();
@@ -1700,15 +1700,15 @@ export default function PageAdminProjectCreate() {
17001700
});
17011701
},
17021702
});
1703-
1703+
17041704
const form = useForm<FormFieldsProject>({
17051705
resolver: zodResolver(zFormFieldsProject()),
17061706
defaultValues: {
17071707
name: "",
17081708
description: "",
17091709
},
17101710
});
1711-
1711+
17121712
return (
17131713
<Form
17141714
{...form}

0 commit comments

Comments
 (0)