diff --git a/frontend/src/b/WeekPage.tsx b/frontend/src/b/WeekPage.tsx index 9862191..d540f7d 100644 --- a/frontend/src/b/WeekPage.tsx +++ b/frontend/src/b/WeekPage.tsx @@ -233,35 +233,40 @@ export function WeekPage() { )} - : '날씨에 맞춰 골라 보여 줘요'} className="pt-3" /> - {placeList.length ? ( - - {placeList.map((p, i) => ( -
- - {p.is_good && {p.is_outdoor ? '오늘 딱' : '비 와도 OK'}} - - - - - {p.area} · {p.is_outdoor ? '야외' : '실내'} - - - {p.name} - - - {p.reason} -
- 추천 {p.best_time} -
-
-
- ))} -
- ) : placeLoad === 'loading' ? ( - - ) : ( - places.refetch()} empty={sel ? `${sido} 데이트 명소는 아직 준비 중이에요.` : '날씨를 불러오면 명소를 골라 드려요.'} hold={} className="inset-x-3 top-3 bottom-1" /> + {/* 명소 데이터가 없는 지역은 칸 전체를 숨긴다 (지금은 서울만 있음) */} + {!(placeLoad === 'ready' && !placeList.length) && ( + <> + : '날씨에 맞춰 골라 보여 줘요'} className="pt-3" /> + {placeList.length ? ( + + {placeList.map((p, i) => ( +
+ + {p.is_good && {p.is_outdoor ? '오늘 딱' : '비 와도 OK'}} + + + + + {p.area} · {p.is_outdoor ? '야외' : '실내'} + + + {p.name} + + + {p.reason} +
+ 추천 {p.best_time} +
+
+
+ ))} +
+ ) : placeLoad === 'loading' ? ( + + ) : ( + places.refetch()} empty={sel ? `${sido} 데이트 명소는 아직 준비 중이에요.` : '날씨를 불러오면 명소를 골라 드려요.'} hold={} className="inset-x-3 top-3 bottom-1" /> + )} + )} {rankDays.length ? (