We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32bbd59 commit 300b7bfCopy full SHA for 300b7bf
src/app/(auth)/signup/page.tsx
@@ -9,7 +9,6 @@ import { useForm } from "react-hook-form";
9
import REGEX from "@/constants/regex";
10
import { useActionState, useEffect } from "react";
11
import signup from "@/api/auth/signup-action";
12
-import { useRouter } from "next/navigation";
13
import { useToast } from "@/hooks/use-toast";
14
15
interface SignupFormData {
@@ -25,7 +24,6 @@ const Page = () => {
25
24
getValues,
26
formState: { errors, isValid },
27
} = useForm<SignupFormData>();
28
- const router = useRouter();
29
const { signupSuccess, signupError } = useToast();
30
const [state, formAction, isPending] = useActionState(signup, null);
31
0 commit comments