fixes weird bug- dark theme hook

This commit is contained in:
ManishMadan2882 committed 2024-02-06 05:17:43 +05:30
1 parent 166a07732a
commit 300430e2d5
1 file changed
+1 -1
+1 -1
View File
@@ -92,7 +92,7 @@ export function useDarkTheme() {
else{
document.documentElement.classList.remove('dark');
}
})
},[isDarkTheme])
// Function to toggle dark mode
const toggleTheme:any = () => {