GTBitsOfGood / canine-assistants

Educating the Dogs Who Change the World
https://dev--canine-assistants.netlify.app
MIT License
4 stars 0 forks source link

[FE] Handle client-side session errors and loading #169

Closed afazio1 closed 3 months ago

afazio1 commented 4 months ago

Description

The problem is we are not waiting for session data to load before using it in other components.

Create a utility function that can be used throughout the codebase to check for this. Also, investigate NextAuth's client-side documentation to see elegant ways to do this.

Other Notes

afazio1 commented 3 months ago

236