diff --git a/src/components/MyTrip/MyTrip.tsx b/src/components/MyTrip/MyTrip.tsx index 8958338b..ae8ed92e 100644 --- a/src/components/MyTrip/MyTrip.tsx +++ b/src/components/MyTrip/MyTrip.tsx @@ -31,6 +31,9 @@ const MyTrip = () => { return (
+
+

나의 여정

+
{data.length > 0 ? ( <> diff --git a/src/pages/create/createTrip.page.tsx b/src/pages/create/createTrip.page.tsx index c9e2b865..a6640f62 100644 --- a/src/pages/create/createTrip.page.tsx +++ b/src/pages/create/createTrip.page.tsx @@ -35,7 +35,7 @@ export const CreateTrip = () => { queryFn: () => getMemberTrips(), }); - const MY_TRIP_NUMBER = data?.data.numberOfElements + 1; + const MY_TRIP_NUMBER = data?.numberOfElements + 1; const defaultTitle = `나의 여정 ${MY_TRIP_NUMBER}`; const handleSubmit = async () => {