Closed jfenner closed 5 years ago
Per @johnneed, this can be fixed by using redux-persist.
You now have redux-persist which populates your app state before rendering.
if you check for a user in app-state (redux store) to determine which screen to show (login or app-home) this should fix your login screen issue.
This fixed with the addition of a persistent store
During application startup, the login page is displayed temporarily before the user logs in. If the user is already registered and not logging in then the page should either be hidden or disabled.
Also, when the dashboard is loading the goalArray information, a transparent "loading" page should be displayed.