change design
This commit is contained in:
@@ -7,9 +7,9 @@ const STORAGE_KEY = "theme";
|
||||
export function ThemeProvider({ children }) {
|
||||
const [theme, setTheme] = useState(() => {
|
||||
try {
|
||||
return localStorage.getItem(STORAGE_KEY) || "dark";
|
||||
return localStorage.getItem(STORAGE_KEY) || "light";
|
||||
} catch {
|
||||
return "dark";
|
||||
return "light";
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user