fix zod v4

This commit is contained in:
Aman Varshney
2025-05-21 16:02:33 +05:30
parent 01d745a3e5
commit 5cfd3d38dd
28 changed files with 42 additions and 30 deletions

View File

@@ -2,7 +2,7 @@ import { authClient } from "@/lib/auth-client";
import { useForm } from "@tanstack/react-form";
import { useNavigate } from "@tanstack/react-router";
import { toast } from "sonner";
import { z } from "zod";
import z from "zod/v4";
import Loader from "./loader";
import { Button } from "./ui/button";
import { Input } from "./ui/input";

View File

@@ -2,7 +2,7 @@ import { authClient } from "@/lib/auth-client";
import { useForm } from "@tanstack/react-form";
import { useNavigate } from "@tanstack/react-router";
import { toast } from "sonner";
import { z } from "zod";
import z from "zod/v4";
import Loader from "./loader";
import { Button } from "./ui/button";
import { Input } from "./ui/input";