Theme Mode switcher issue in React
Hi there,
I am having an issue with the dark mode theme switcher. When I switch the mode, log out (without refreshing) and log back in, the theme mode goes back to what it was before switching. It seems that if I refresh after the switch, it gets saved properly and logging out and in does not cause an issue. Also, after switching and logging out, the Auth login has the proper mode but the background should change to dark mode, which is not happening. I am using
const {mode} = useThemeMode()
It seems the switcher is not updating the layout properly. Can you please help with this?
You can see a recording of the behaviour here: https://ibb.co/s938VDb
Thanks
Replies (1)
Hi,
Thank you for your message.
We will create the bug ticket about it in our development backlog, it will be fixed in incoming releases.
Regards,
Keenthemes support