NOTE!
This problem only appears in production enviroment!
How to reproduce
1) Click on reload or press F5 (optionaly slow down internet connection using network tab and dev tools)
What is expected
1) Click on reload -//-
2) Check if we are loged in (do not use cookie checking) -- use local storage
3) While checking we are not authenticated so somehow show loading screen until data fetches successfully...
NOTE! This problem only appears in production enviroment!
How to reproduce 1) Click on reload or press F5 (optionaly slow down internet connection using network tab and dev tools)
What is expected 1) Click on reload -//- 2) Check if we are loged in (do not use cookie checking) -- use local storage 3) While checking we are not authenticated so somehow show loading screen until data fetches successfully...