From 259cce2d463207388e44146593ae8aba8e067539 Mon Sep 17 00:00:00 2001 From: Topvennie Date: Sun, 20 Oct 2024 14:10:23 +0200 Subject: [PATCH] vinvoor: format --- vinvoor/src/providers/ThemeProvider.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vinvoor/src/providers/ThemeProvider.tsx b/vinvoor/src/providers/ThemeProvider.tsx index 293b7c6..6608456 100644 --- a/vinvoor/src/providers/ThemeProvider.tsx +++ b/vinvoor/src/providers/ThemeProvider.tsx @@ -21,7 +21,9 @@ export const ThemeContext = createContext({ export const ThemeProvider: FC = ({ children }) => { const [themeMode, setThemeMode] = useState( - window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light", + window.matchMedia("(prefers-color-scheme: dark)").matches + ? "dark" + : "light", ); const setTheme = (theme: ThemeMode) => {