Skip to content

Commit

Permalink
🏷️ fix: 优化类型代码导出问题
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Jan 7, 2023
1 parent 35428a1 commit e1d4264
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hooks/useThemeMode.ts
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit e1d4264

Please sign in to comment.