'loading' is always true in production build #2446
Labels
bug
Something isn't working
incomplete
Insufficient reproduction. Without more info, we won't take further actions/provide help.
Description 🐜
The
loading
inconst [session, loading] = useSession()
is always returning true in production build. Works fine in development mode though.Is this a bug in your own project?
No
How to reproduce ☕️
npm run build
npm run start
Screenshots / Logs 📽
No response
Environment 🖥
System:
OS: Linux 5.4 Ubuntu 20.04.2 LTS (Focal Fossa)
CPU: (2) x64 Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz
Memory: 810.82 MB / 1.94 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 12.22.1 - ~/.nvm/versions/node/v12.22.1/bin/node
npm: 6.14.12 - ~/.nvm/versions/node/v12.22.1/bin/npm
npmPackages:
next: 10.2.3 => 10.2.3
next-auth: ^3.25.0 => 3.25.0
react: 17.0.2 => 17.0.2
Contributing 🙌🏽
No, I am afraid I cannot help regarding this
The text was updated successfully, but these errors were encountered: