I'm trying to add a dark mode with react redux, but dark is constantly changing, but it only counts as true inside if else, what is the reason?
problem