From 2299a9f7b982f7babc37339cb37ee9908536b25b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EC=A7=84=EB=A6=AC/=EC=8A=A4=ED=86=A0=EC=96=B4?= =?UTF-8?q?=ED=94=84=EB=A1=A0=ED=8A=B8=ED=8C=80?= Date: Sun, 25 Feb 2024 01:41:31 +0900 Subject: [PATCH] fix: conditional rendering on cta button --- src/app/(main)/ticker/_components/ticker-footer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(main)/ticker/_components/ticker-footer.tsx b/src/app/(main)/ticker/_components/ticker-footer.tsx index b5b36eb..9e249f5 100644 --- a/src/app/(main)/ticker/_components/ticker-footer.tsx +++ b/src/app/(main)/ticker/_components/ticker-footer.tsx @@ -12,7 +12,7 @@ export default function TickerFooter() { router.push(`/report`); }; - // if (stocks.length === 0) return null; + if (stocks.length === 0) return null; return (