Skip to content

Commit 4160439

Browse files
committed
Feat: 취향 선택 페이지 라우팅
1 parent 28bc09c commit 4160439

4 files changed

Lines changed: 8 additions & 1 deletion

File tree

src/App.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import LoginComplete from '@pages/Login/LoginComplete';
77

88
import SignUp from '@pages/SignUp';
99
import TermsAgreement from '@pages/SignUp/TermsAgreement';
10+
import PickMyStyle from '@pages/SignUp/PickMyStyle';
1011

1112
import Profile from '@pages/Profile';
1213
import ProfileEdit from '@pages/Profile/ProfileEdit';
@@ -64,6 +65,7 @@ const publicRoutes = [
6465

6566
{ path: '/signup', element: <SignUp /> },
6667
{ path: '/signup/terms-agreement', element: <TermsAgreement /> },
68+
{ path: '/signup/pick-my-style', element: <PickMyStyle /> },
6769
];
6870

6971
const App: React.FC = () => {
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const PickMyStyle: React.FC = () => {
2+
return <>ㅋㅋㅋ</>;
3+
};
4+
5+
export default PickMyStyle;

src/pages/SignUp/PickMyStyle/style.tsx

Whitespace-only changes.

src/pages/SignUp/TermsAgreement/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const TermsAgreement: React.FC = () => {
6767
try {
6868
const response = await postTermsAgreementApi(currentUserId);
6969
console.log(response);
70-
navigate('/'); // 성공 시 홈으로 이동
70+
navigate('/signup/pick-my-style'); // 성공 시 취향 선택 UI로 이동
7171
} catch (error) {
7272
console.error('약관 동의 API 호출 실패:', error);
7373
const errorMessage = handleError(error);

0 commit comments

Comments
 (0)