ITTECH10 / technical_inspection_frontend

technical-inspection-frontend.vercel.app
1 stars 1 forks source link

On App Reload -- Login page shows for a fraction a second until we are "authenticated" #10

Closed ITTECH10 closed 2 years ago

ITTECH10 commented 2 years ago

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...