Skip to content

Commit

Permalink
주변핑이 1개에서 4개 사이일때 안보이는거 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
choihooo committed Nov 27, 2024
1 parent 293b9e7 commit db50d8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fe/src/app/event-maps/[id]/components/BottomDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export function BottomDrawer({
setNonRecommend(true);
found = true;
setIsRecommend(found);
} else if (data.recommendPings.length >= 5) {
} else if (data.recommendPings.length >= 1) {
setCustomMarkers(data.recommendPings);
found = true;
setrecommendPings(data.recommendPings);
Expand All @@ -199,6 +199,7 @@ export function BottomDrawer({
};

const handleRecommendCancle = () => {
setTrigger((prev) => !prev);
setIsRecommend(false);
};

Expand Down

0 comments on commit db50d8e

Please sign in to comment.