mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-14 02:15:06 +00:00
fixes weird bug- dark theme hook
This commit is contained in:
1 parent
166a07732a
commit
300430e2d5
1 file changed
+1
-1
@@ -92,7 +92,7 @@ export function useDarkTheme() {
|
||||
else{
|
||||
document.documentElement.classList.remove('dark');
|
||||
}
|
||||
})
|
||||
},[isDarkTheme])
|
||||
|
||||
// Function to toggle dark mode
|
||||
const toggleTheme:any = () => {
|
||||
|
||||
Reference in new issue
Block a user