This commit is contained in:
@@ -11,6 +11,7 @@ interface ThemeContextType {
|
||||
mode: ThemeMode;
|
||||
toggleTheme: () => void;
|
||||
isDark: boolean;
|
||||
refreshColors: () => Promise<void>;
|
||||
}
|
||||
|
||||
const STORAGE_KEY = "@theme_mode";
|
||||
@@ -71,6 +72,7 @@ export function ThemeProvider({ children }: { children: ReactNode }) {
|
||||
mode,
|
||||
toggleTheme,
|
||||
isDark: mode === "dark",
|
||||
refreshColors: fetchAdminColors,
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user