8 lines
159 B
TypeScript
8 lines
159 B
TypeScript
'use client';
|
|
|
|
import { useContext } from 'react';
|
|
|
|
import { ThemeContext } from '@/providers/Theme';
|
|
|
|
export const useTheme = () => useContext(ThemeContext);
|