Closed PaoloDiBello closed 10 months ago
The state is still undefined at the very beginning and it only changes when I click on the button, were the changes released to production? @rgerum
The changes are first hosted on beta.duostories.org Are you able to run and test the website locally or are you doing the changes blind? I did not test your pull request, the code change looked resonable to I just had it merged.
I hope the recent commit should now work 0572937 as seen on beta.duostories.org
@rgerum yes, I confirm that it works now.
Steps to Reproduce:
Expected Behavior:
When hovering over the avatar in light mode, there should be a button for switching to dark mode.
Actual Behavior:
Instead of the dark mode button, the light mode button is being displayed upon hovering over the avatar in light mode.
Screenshot
Suggestions
In
/src/components/login/loggedinbutton.jsx
you could changeWithout those changes activeTheme could also be undefined.
A light Mode button with toggle("light"), and all this while the Light Mode is already on.