Fix dark/light theme showing as selected when "auto" is chosen

environments/review-docs-renov-b1i8ag/deployments/15025
Philipp Wolfer 2022-10-23 17:10:26 +02:00 zatwierdzone przez Kasper Seweryn
rodzic 46fdf6d167
commit 7c9959831e
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -6,7 +6,8 @@ const theme = useColorMode({
auto: '', auto: '',
light: 'theme-light', light: 'theme-light',
dark: 'theme-dark' dark: 'theme-dark'
} },
emitAuto: true
}) })
export default () => theme export default () => theme