Skip to content

Commit

Permalink
Chore: 빌드에러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
suehub committed Jan 21, 2024
1 parent b42e97d commit 49a3501
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/plan/addToOurPlace/AddtoListBtn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => ({
Expand Down

0 comments on commit 49a3501

Please sign in to comment.