Skip to content

Commit

Permalink
๐Ÿ› Fix: recentPins ๊ธธ์ด ๋ฒ”์œ„ 0 ๋ถ€๋“ฑํ˜ธ ์ถ”๊ฐ€
Browse files Browse the repository at this point in the history
  • Loading branch information
billy0904 committed Aug 21, 2024
1 parent 7c039db commit 7d73781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ function MapLayout({
const data = await getMyPins(memberId);
setPinsToDisplay(data.mapPlaceSet || []);
} else {
const pins = recentPins.length > 0 ? recentPins : allPins;
const pins = recentPins.length >= 0 ? recentPins : allPins;
setPinsToDisplay(pins);
}
setMapKey(Date.now()); // ํ•€์„ ๋ถˆ๋Ÿฌ์˜จ ํ›„ ๋งต ์ƒˆ๋กœ๊ณ ์นจ
Expand Down

0 comments on commit 7d73781

Please sign in to comment.