fix: open new window theme

This commit is contained in:
Faisal Amir 2025-10-02 17:52:58 +07:00
parent 51e7a08118
commit 1acdb77ad1

View File

@ -36,7 +36,7 @@ export function ThemeProvider() {
if (activeTheme === 'auto') {
setIsDark(e.matches)
} else {
setTheme(e.matches ? 'dark' : 'light')
setTheme(activeTheme)
}
}