diff --git a/src/api/users/postSignup.ts b/src/api/users/postSignup.ts index a88a169a..51b69377 100644 --- a/src/api/users/postSignup.ts +++ b/src/api/users/postSignup.ts @@ -2,7 +2,7 @@ import { apiClient } from '../index'; export interface PostSignupRequest { aliasName: string; - nickName: string; + nickname: string; } export interface PostSignupResponse { diff --git a/src/pages/index.tsx b/src/pages/index.tsx index b7cba507..f34257dd 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -5,7 +5,7 @@ import { RouterProvider, } from 'react-router-dom'; import Login from './login/Login'; -import Signup from './signup/Signup'; +// import Signup from './signup/Signup'; import SignupGenre from './signup/SignupGenre'; import SignupNickname from './signup/SignupNickname'; import SignupDone from './signup/SignupDone'; @@ -44,10 +44,8 @@ const Router = () => { createRoutesFromElements( <> } /> - }> - } /> - } /> - + } /> + } /> } /> } /> } /> diff --git a/src/pages/signup/SignupGenre.tsx b/src/pages/signup/SignupGenre.tsx index 2ac65561..8adc481b 100644 --- a/src/pages/signup/SignupGenre.tsx +++ b/src/pages/signup/SignupGenre.tsx @@ -66,7 +66,7 @@ const SignupGenre = () => { // ✅ 쿠키는 브라우저가 자동으로 전송 const result = await postSignup({ aliasName: selectedAlias.subTitle, - nickName: nickname, + nickname: nickname, }); if (result.success) { @@ -74,7 +74,7 @@ const SignupGenre = () => { navigate('/signupdone', { state: { aliasName: selectedAlias.subTitle, - nickName: nickname, + nickname: nickname, }, }); } else {