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) => {