Fix typo
This commit is contained in:
parent
5f41608e92
commit
a20b03bbf5
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ const App = () => {
|
|||
} = useFetcher();
|
||||
|
||||
const theme = getTheme();
|
||||
let isDark = useMediaQuery("(prefers-color-scheme: dark");
|
||||
let isDark = useMediaQuery("(prefers-color-scheme: dark)");
|
||||
if (isDark) {
|
||||
setScheme("dark-theme");
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue