Hi,
I had deployed next.js application as SSG on netlify, so I am facing this issue randomly. After successful login , it is not moving to dashboard, instead it is staying on same login page. but if I do refresh and I tried to login, it is working. pls help me to fix this issue. I tried _headers file while making /* cache-control: no-store, must-revalidate