diff --git a/src/api/member.ts b/src/api/member.ts index e7c702de..dd73f20f 100644 --- a/src/api/member.ts +++ b/src/api/member.ts @@ -53,7 +53,7 @@ export const getMemberTrips = async (page = 0, size = 10) => { } }; -// 나의 관심 여행지 조회 +// 나의 관심 목록 조회 export const getMemberTours = async (page?: number, size?: number) => { try { const res = await authClient.get(`member/tours?&page=${page}&size=${size}`); @@ -97,7 +97,7 @@ export const getMemberReviews = async (page?: number, size?: number) => { } }; -// 나의 관심 여행지 삭제 +// 나의 관심 목록 삭제 // export const deleteMemberTours = async (tourItemId: number) => { // const res = await authClient.delete(`member/tours/${tourItemId}`); // return res; diff --git a/src/api/tours.ts b/src/api/tours.ts index 6933f0a8..1311c8f2 100644 --- a/src/api/tours.ts +++ b/src/api/tours.ts @@ -33,7 +33,7 @@ export const getDetailTours = async (tourItemId: number) => { } }; -// 관심 여행지 등록 +// 관심 목록 등록 export const postLikedTours = async (options: { id: number }) => { try { const { id } = options; @@ -48,7 +48,7 @@ export const postLikedTours = async (options: { id: number }) => { } }; -// 관심 여행지 삭제 +// 관심 목록 삭제 export const deleteLikedTours = async (options: { id: number }) => { try { const { id } = options; diff --git a/src/api/trips.ts b/src/api/trips.ts index 3cb10b13..37d91911 100644 --- a/src/api/trips.ts +++ b/src/api/trips.ts @@ -40,13 +40,13 @@ export const getTripsLike = async ( return res; }; -// 우리의 관심 여행지 등록 +// 우리의 관심 목록 등록 export const postTripsLike = async (tripId: number, tourItemIds: number[]) => { const res = await client.post(`trips/${tripId}/tripLikedTours`, tourItemIds); return res; }; -// 우리의 관심 여행지 좋아요/싫어요 +// 우리의 관심 목록 좋아요/싫어요 export const postTripsLikeHate = async ( tripId: number, tourId: number, diff --git a/src/components/Auth/Login/KakaoLogin.tsx b/src/components/Auth/Login/KakaoLogin.tsx index 5146b85c..dfc5dd26 100644 --- a/src/components/Auth/Login/KakaoLogin.tsx +++ b/src/components/Auth/Login/KakaoLogin.tsx @@ -28,10 +28,10 @@ const KakaoLogin = () => { genderType: gender, survey: null, }); - if (signup) { + if (signup === 'true') { // signup이 true면 이미 회원가입을 했던 유저 navigate('/'); - } else { + } else if (signup === 'false') { // signup이 false면 이전에 회원가입을 하지 않았던 유저 navigate('/signup/success'); } diff --git a/src/components/MyTrip/MyTrip.tsx b/src/components/MyTrip/MyTrip.tsx index 3d7a7813..59422bbb 100644 --- a/src/components/MyTrip/MyTrip.tsx +++ b/src/components/MyTrip/MyTrip.tsx @@ -47,7 +47,7 @@ const MyTrip = () => { /> ) : ( } /> diff --git a/src/components/Mypage/MypageList.tsx b/src/components/Mypage/MypageList.tsx index ed6dbbae..3e0ab261 100644 --- a/src/components/Mypage/MypageList.tsx +++ b/src/components/Mypage/MypageList.tsx @@ -4,7 +4,7 @@ const MypageList = () => { return (
나의 여정 - 나의 관심 여행지 + 나의 관심 목록 나의 리뷰 나의 여행 취향 설정
diff --git a/src/components/Wish/Wish.tsx b/src/components/Wish/Wish.tsx index 6a0e219a..7858c79c 100644 --- a/src/components/Wish/Wish.tsx +++ b/src/components/Wish/Wish.tsx @@ -45,7 +45,7 @@ const Wish = () => { return (
-

나의 관심 여행지

+

나의 관심 목록

@@ -59,7 +59,7 @@ const Wish = () => { /> ) : ( } /> diff --git a/src/components/common/like/Like.tsx b/src/components/common/like/Like.tsx index cc9cea19..159bf56d 100644 --- a/src/components/common/like/Like.tsx +++ b/src/components/common/like/Like.tsx @@ -75,7 +75,7 @@ const Like = ({ liked, id }: LikeProps) => { title={'로그인'} message={ <> - 관심 여행지 등록시 로그인이 필요합니다. + 관심 목록 등록시 로그인이 필요합니다.
로그인 하시겠습니까? diff --git a/src/components/common/nav/Nav.tsx b/src/components/common/nav/Nav.tsx index 5fb9d35a..7695f624 100644 --- a/src/components/common/nav/Nav.tsx +++ b/src/components/common/nav/Nav.tsx @@ -94,7 +94,7 @@ const Nav = () => { title={'로그인'} message={ <> - 관심 여행지 조회를 위해 로그인이 필요합니다. + 관심 목록 조회를 위해 로그인이 필요합니다.
로그인 하시겠습니까?