chore: migrate to mantine v9

Followed the migration guide
This commit is contained in:
Thomas Camlong committed 2026-05-19 14:58:51 +02:00
1 parent df56eeab95
commit cb5b73ddbd
19 files changed
+23 -40

No files matched your search

+2 -3
View File
@@ -1,5 +1,4 @@
import { useForm } from "@mantine/form";
import { zod4Resolver } from "mantine-form-zod-resolver";
import { schemaResolver, useForm } from "@mantine/form";
import type { ZodDiscriminatedUnion, ZodIntersection, ZodObject, ZodPipe } from "zod/v4";
import { z } from "zod/v4";
@@ -34,6 +33,6 @@ export const useZodForm = <
...options,
validateInputOnBlur: true,
validateInputOnChange: true,
validate: zod4Resolver(schema),
validate: schemaResolver(schema, { sync: true }),
});
};