Fix dark/light theme showing as selected when "auto" is chosen
This commit is contained in:
parent
46fdf6d167
commit
7c9959831e
|
@ -6,7 +6,8 @@ const theme = useColorMode({
|
|||
auto: '',
|
||||
light: 'theme-light',
|
||||
dark: 'theme-dark'
|
||||
}
|
||||
},
|
||||
emitAuto: true
|
||||
})
|
||||
|
||||
export default () => theme
|
||||
|
|
Loading…
Reference in New Issue