From c38a0cada9eca4ff75eaf0a25fe9fc5365d5f06e Mon Sep 17 00:00:00 2001 From: NohWookJin Date: Tue, 16 Jan 2024 17:31:03 +0900 Subject: [PATCH] =?UTF-8?q?style:=20=EC=97=AC=EC=A0=95=EB=AA=A9=EB=A1=9D?= =?UTF-8?q?=EC=A1=B0=ED=9A=8C=20=EB=94=94=EC=9E=90=EC=9D=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/MyTrip/MyTrip.tsx | 3 +++ src/pages/create/createTrip.page.tsx | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 () => {