diff --git a/swapify_web/src/features/auth/components/sign-up-form.tsx b/swapify_web/src/features/auth/components/sign-up-form.tsx index f04f5ff..0ab6231 100644 --- a/swapify_web/src/features/auth/components/sign-up-form.tsx +++ b/swapify_web/src/features/auth/components/sign-up-form.tsx @@ -27,7 +27,7 @@ const SignUpFormSchema = z.object({ .describe("Spotify account email"), consent: z.boolean().refine((val) => val === true, { message: "You must agree to the terms of service and privacy policy", - }), + }) as unknown as z.ZodBoolean, }); export type SignUpFormData = z.infer;