next-auth
c580f0db
- docs: fix `session.user` is possibly `undefined`. (#7058)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
2 years ago
docs: fix `session.user` is possibly `undefined`. (#7058) fixed the code snippet for the example to consume session via hooks. Threw an error earlier stating 'session.user' is possibly 'undefined'.
References
#7058 - fix 'session.user' is possibly 'undefined'.
Author
jabedzaman
Parents
d1cf701e
Loading