From 49a350155014080a0313afdafc1c9be413388806 Mon Sep 17 00:00:00 2001 From: sue Date: Mon, 22 Jan 2024 05:37:06 +0900 Subject: [PATCH] =?UTF-8?q?Chore:=20=EB=B9=8C=EB=93=9C=EC=97=90=EB=9F=AC?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/plan/addToOurPlace/AddtoListBtn.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/plan/addToOurPlace/AddtoListBtn.tsx b/src/pages/plan/addToOurPlace/AddtoListBtn.tsx index 4d74e9c8..ea7589f6 100644 --- a/src/pages/plan/addToOurPlace/AddtoListBtn.tsx +++ b/src/pages/plan/addToOurPlace/AddtoListBtn.tsx @@ -24,9 +24,8 @@ const AddToListButton = ({ const handleAddClick = async () => { if (tripId) { try { - let response; if (apiType === 'postTripsLike') { - response = await postTripsLike(tripId, selectedTourItemIds); + await postTripsLike(tripId, selectedTourItemIds); navigate(`/trip/${tripId}`); } else if (apiType === 'postTripsItem' && visitDate) { const newTripItems = selectedTourItemIds.map((tourItemId) => ({