Skip to content

Commit 300b7bf

Browse files
committed
chore: 사용하지 않는 코드 제거
1 parent 32bbd59 commit 300b7bf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/app/(auth)/signup/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { useForm } from "react-hook-form";
99
import REGEX from "@/constants/regex";
1010
import { useActionState, useEffect } from "react";
1111
import signup from "@/api/auth/signup-action";
12-
import { useRouter } from "next/navigation";
1312
import { useToast } from "@/hooks/use-toast";
1413

1514
interface SignupFormData {
@@ -25,7 +24,6 @@ const Page = () => {
2524
getValues,
2625
formState: { errors, isValid },
2726
} = useForm<SignupFormData>();
28-
const router = useRouter();
2927
const { signupSuccess, signupError } = useToast();
3028
const [state, formAction, isPending] = useActionState(signup, null);
3129

0 commit comments

Comments
 (0)