This commit is contained in:
4
src/hooks/useChangeTheme.ts
Normal file
4
src/hooks/useChangeTheme.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import { useContext } from "react";
|
||||
import { ThemeContext } from "@/components/themeController";
|
||||
|
||||
export const useChangeTheme = () => useContext(ThemeContext);
|
||||
Reference in New Issue
Block a user