From f408e95a24b7f90026154b39d3271b30c185f81a Mon Sep 17 00:00:00 2001 From: Mina Choi Date: Wed, 7 Oct 2026 17:05:50 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=8D=B0=EC=9D=B4=ED=8A=B8=20=EB=AA=85?= =?UTF-8?q?=EC=86=8C=EA=B0=80=20=EC=97=86=EB=8A=94=20=EC=A7=80=EC=97=AD?= =?UTF-8?q?=EC=9D=80=20=EC=A3=BC=EB=A7=90=20=ED=83=AD=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EA=B7=B8=20=EC=B9=B8=EC=9D=84=20=ED=86=B5=EC=A7=B8=EB=A1=9C=20?= =?UTF-8?q?=EC=88=A8=EA=B9=80=20(=EC=A7=80=EA=B8=88=EC=9D=80=20=EC=84=9C?= =?UTF-8?q?=EC=9A=B8=EB=A7=8C=20=EC=9E=88=EC=9D=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/b/WeekPage.tsx | 63 ++++++++++++++++++++----------------- 1 file changed, 34 insertions(+), 29 deletions(-) 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 ? (