From bed0acd1e42bc7e0fa4fbc201c36a36c5f8eba6d Mon Sep 17 00:00:00 2001 From: ohhalim Date: Wed, 1 Jul 2026 15:30:22 +0900 Subject: [PATCH] =?UTF-8?q?fix(sidebar):=20MarketSidebar=20=EB=B9=88=20?= =?UTF-8?q?=EB=AA=A9=EB=A1=9D=20=EC=83=81=ED=83=9C=20=ED=91=9C=EC=8B=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20(#74)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 급상승/급하락 데이터 없을 때 "변동 데이터 없음" 메시지 표시 --- src/components/layout/MarketSidebar.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/layout/MarketSidebar.tsx b/src/components/layout/MarketSidebar.tsx index 72e5286..99c23c0 100644 --- a/src/components/layout/MarketSidebar.tsx +++ b/src/components/layout/MarketSidebar.tsx @@ -26,6 +26,9 @@ function useTopMovers(type: 'rise' | 'fall') { function MoverList({ items, type }: { items: RankingItem[]; type: 'rise' | 'fall' }) { const isRise = type === 'rise' + if (items.length === 0) { + return

변동 데이터 없음

+ } return (