fixes weird bug- dark theme hook

This commit is contained in:
ManishMadan2882
2024-02-06 05:17:43 +05:30
parent 166a07732a
commit 300430e2d5

View File

@@ -92,7 +92,7 @@ export function useDarkTheme() {
else{
document.documentElement.classList.remove('dark');
}
})
},[isDarkTheme])
// Function to toggle dark mode
const toggleTheme:any = () => {