I’m facing an issue where the Redux state resets when the page is reloaded. This affects route protection based on authentication status.
I implemented a component (AuthInput) to handle routing based on the authentication status retrieved from Redux