From 725ad43dcd6a53f336266898afe352b353315a73 Mon Sep 17 00:00:00 2001
From: baegyeong <beth0929@naver.com>
Date: Wed, 4 Dec 2024 14:38:34 +0900
Subject: [PATCH 1/2] =?UTF-8?q?=E2=9C=A8=20feat:=20=EA=B2=80=EC=83=89?=
 =?UTF-8?q?=EC=96=B4=EA=B0=80=20=EB=B9=88=20=EA=B0=92=EC=9D=B8=20=EC=83=81?=
 =?UTF-8?q?=ED=83=9C=EC=97=90=EC=84=9C=EB=8A=94=20=EC=9A=94=EC=B2=AD?=
 =?UTF-8?q?=EC=9D=84=20=EB=A7=89=EA=B8=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 packages/frontend/src/components/layouts/search/Search.tsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/packages/frontend/src/components/layouts/search/Search.tsx b/packages/frontend/src/components/layouts/search/Search.tsx
index d5485406..5b006447 100644
--- a/packages/frontend/src/components/layouts/search/Search.tsx
+++ b/packages/frontend/src/components/layouts/search/Search.tsx
@@ -15,6 +15,7 @@ export const Search = ({ className }: SearchProps) => {
 
   const handleSubmit = (event: FormEvent<HTMLFormElement>) => {
     event.preventDefault();
+    if (!stockName) return;
     refetch();
   };
 

From 6eaafc5534ffe84cfabeacea576830cdfeff756b Mon Sep 17 00:00:00 2001
From: baegyeong <beth0929@naver.com>
Date: Wed, 4 Dec 2024 14:38:52 +0900
Subject: [PATCH 2/2] =?UTF-8?q?=E2=9C=A8=20feat:=20=EC=B2=AB=20=EB=A1=9C?=
 =?UTF-8?q?=EB=93=9C=20=EC=8B=9C=20=EA=B7=B8=EB=9E=98=ED=94=84=EB=A7=8C=20?=
 =?UTF-8?q?=EB=8B=A4=ED=81=AC=EB=AA=A8=EB=93=9C=EC=9D=B8=20=EB=AC=B8?=
 =?UTF-8?q?=EC=A0=9C=20=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 packages/frontend/src/pages/stock-detail/hooks/useChart.ts | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/packages/frontend/src/pages/stock-detail/hooks/useChart.ts b/packages/frontend/src/pages/stock-detail/hooks/useChart.ts
index 7b26f1d3..b7c22836 100644
--- a/packages/frontend/src/pages/stock-detail/hooks/useChart.ts
+++ b/packages/frontend/src/pages/stock-detail/hooks/useChart.ts
@@ -44,7 +44,11 @@ export const useChart = ({
   const containerInstance = containerRef.current;
 
   const { theme } = useContext(ThemeContext);
-  const graphTheme = theme === 'light' ? lightTheme : darkTheme;
+  const graphTheme = theme
+    ? theme === 'light'
+      ? lightTheme
+      : darkTheme
+    : lightTheme;
 
   useEffect(() => {
     if (!containerInstance) return;