mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
fixes weird bug- dark theme hook
This commit is contained in:
@@ -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