From e1d4264a3bf594bb7909b08c8b4e1bac3e6bd0c7 Mon Sep 17 00:00:00 2001 From: arvinxx Date: Sun, 8 Jan 2023 00:47:53 +0800 Subject: [PATCH] =?UTF-8?q?:label:=20fix:=20=E4=BC=98=E5=8C=96=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E4=BB=A3=E7=A0=81=E5=AF=BC=E5=87=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/useThemeMode.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hooks/useThemeMode.ts b/src/hooks/useThemeMode.ts index f653f0e6..b8d1d557 100644 --- a/src/hooks/useThemeMode.ts +++ b/src/hooks/useThemeMode.ts @@ -1,5 +1,6 @@ import { useContext } from 'react'; -import { ThemeContextState, ThemeModeContext } from '@/context'; +import { ThemeModeContext } from '@/context'; +import { ThemeContextState } from '@/types'; export const useThemeMode = (): ThemeContextState => useContext(ThemeModeContext);