Make the build not fail
This commit is contained in:
parent
765ab6d643
commit
3131110b4c
9 changed files with 214 additions and 434 deletions
|
@ -40,7 +40,7 @@ const App = () => {
|
|||
} = useFetch();
|
||||
|
||||
const theme = getTheme();
|
||||
let isDark = useMediaQuery("(prefers-color-scheme: dark)");
|
||||
const isDark = useMediaQuery("(prefers-color-scheme: dark)");
|
||||
setScheme(isDark ? "dark-theme" : "light-theme");
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue