mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 14:43:24 +00:00
6 lines
189 B
TypeScript
6 lines
189 B
TypeScript
import { useContext } from 'react';
|
|
import { DarkThemeContext } from '~/contexts/dark_theme_context';
|
|
|
|
const useDarkTheme = () => useContext(DarkThemeContext);
|
|
export default useDarkTheme;
|