As you can see in img below, when I run the app it starts with loading component, because auth.isLoading is true. In initial state is set to false. It should not be to false when the app starts? Without redux-persist works fine, the app starts with login screen etc. Where or what am I wrong?
Hi guys, I have a problem with redux-persist. This is my authentication slice:
This is my store.ts, App.tsx and Router.tsx respectively:
As you can see in img below, when I run the app it starts with loading component, because
auth.isLoading
istrue
. In initial state is set to false. It should not be to false when the app starts? Without redux-persist works fine, the app starts with login screen etc. Where or what am I wrong?