swsnu / swpp2021-team4

🚂 Tripick : Pick your trip! 🛤
2 stars 1 forks source link

Fix wrong index of place when create Post #135

Closed kjw7953 closed 2 years ago

kjw7953 commented 2 years ago

const placeListData = routePlaces.filter((p: PlaceDayType) => p.day).map((p: PlaceDayType, index: number) => { in CreateEditPost.tsx