Note: I don't have the right to create a StackOverflow question. Kindly check out this here.
What you were expecting:
Once the app is loaded, the state.admin.loader should be 0.
What happened instead:
The state.admin.loader is always 6 in my case
Steps to reproduce:
Create the app as custom
The <LoaderIndicator /> is always loading in the custom MyAppBar.
Environment
Thanks for reporting this. Please provide a sample application by forking the following CodeSandbox (https://codesandbox.io/s/github/marmelab/react-admin/tree/master/examples/simple).
I will close this. This is my bad the redux-persist persists the admin reducer which causes the problem.
Most helpful comment
I will close this. This is my bad the redux-persist persists the admin reducer which causes the problem.