From dfe8e1caa1e3974aea4b48d3dcef62c8d7377273 Mon Sep 17 00:00:00 2001 From: Hojin Date: Thu, 18 Jan 2024 00:40:17 +0900 Subject: [PATCH] =?UTF-8?q?Feat:=20=EC=97=AC=EC=A1=8D=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=20=EC=B6=A9=EB=8F=8C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Plan/PlanItem.tsx | 4 ++-- src/components/Plan/TripMap.tsx | 1 - src/components/Trip/TripInfo.tsx | 3 --- src/hooks/useSocket.ts | 5 ----- 4 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/components/Plan/PlanItem.tsx b/src/components/Plan/PlanItem.tsx index 816ffac1..89a28752 100644 --- a/src/components/Plan/PlanItem.tsx +++ b/src/components/Plan/PlanItem.tsx @@ -80,9 +80,9 @@ const PlanItem = (date: any) => { /> -
+
+
diff --git a/src/components/Plan/TripMap.tsx b/src/components/Plan/TripMap.tsx index 8c430353..7c7cc026 100644 --- a/src/components/Plan/TripMap.tsx +++ b/src/components/Plan/TripMap.tsx @@ -41,7 +41,6 @@ const TripMap = ({ paths }: { paths: Paths[] }) => { width: '100%', height: '180px', marginTop: '15px', - marginBottom: '15px', transition: 'height 0.3s ease-in-out', }; diff --git a/src/components/Trip/TripInfo.tsx b/src/components/Trip/TripInfo.tsx index f1d24ada..8e7a2a21 100644 --- a/src/components/Trip/TripInfo.tsx +++ b/src/components/Trip/TripInfo.tsx @@ -18,9 +18,6 @@ const TripInfo = () => {
- {trip?.startDate} ~ {trip?.endDate} diff --git a/src/hooks/useSocket.ts b/src/hooks/useSocket.ts index 492fb558..50c9e2d6 100644 --- a/src/hooks/useSocket.ts +++ b/src/hooks/useSocket.ts @@ -49,13 +49,9 @@ export const useSocket = (tripId: string, visitDate: string) => { } }); - console.log('sub외부', visitDate); - subItem(tripId, visitDate, (res) => { - console.log('sub내부', visitDate); if (res) { setTripItem(res); - console.log('상태변경실행'); } }); @@ -79,7 +75,6 @@ export const useSocket = (tripId: string, visitDate: string) => { if (socketCallback) { socketCallback(); - console.log('소켓커넥트내부', socketCallback); } };