File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 11'use client'
22
3- import { useRouter } from 'next/navigation'
4-
3+ // import { useRouter } from 'next/navigation'
54import { SubmitHandler , useForm } from 'react-hook-form'
65
76import { SignUpRequest } from '@/types/api/auth.types'
87import { useSignUpMutation } from 'queries/useSignUp'
98
109export default function SignUpPage ( ) : JSX . Element {
11- const router = useRouter ( )
10+ // const router = useRouter()
1211 const {
1312 register,
1413 handleSubmit,
15- formState : { errors } ,
14+ // formState: { errors },
1615 } = useForm < SignUpRequest > ( )
1716 const mutation = useSignUpMutation ( )
1817
Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ import { HTTPError } from 'ky'
44
55import { backendApi } from '@/services/api'
66
7- const BACKEND_BASE_URL = process . env . NEXT_PUBLIC_BACKEND_BASE_URL
8-
97export const POST = async ( req : Request ) : Promise < NextResponse > => {
108 const { refreshToken } = await req . json ( )
119
You can’t perform that action at this time.
0 commit comments