From 99b70dc6fe80cd3aa84926be3ceb067ab6f80a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=A7=84=ED=98=B8?= Date: Sun, 29 Dec 2024 11:29:14 +0900 Subject: [PATCH] =?UTF-8?q?test:=20=ED=85=8C=EC=8A=A4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/components/Design/theme/HDesignProvider.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/Design/theme/HDesignProvider.tsx b/client/src/components/Design/theme/HDesignProvider.tsx index c5367afa1..77139a1dc 100644 --- a/client/src/components/Design/theme/HDesignProvider.tsx +++ b/client/src/components/Design/theme/HDesignProvider.tsx @@ -32,7 +32,7 @@ export const HDesignProvider: React.FC<{children: ReactNode}> = ({children}) => export const useTheme = (): ThemeContextProps => { const context = useContext(ThemeContext); if (!context) { - throw new Error('useTheme must be used within a HDesignProvider'); + // throw new Error('useTheme must be used within a HDesignProvider'); } - return context; + return context as ThemeContextProps; };