mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-05 04:02:21 +02:00
♻️ Make user session optional (#1515)
This commit is contained in:
parent
f6a0bca4f8
commit
58d5c42a6c
31 changed files with 343 additions and 549 deletions
2
apps/web/declarations/next-auth.d.ts
vendored
2
apps/web/declarations/next-auth.d.ts
vendored
|
@ -10,7 +10,7 @@ declare module "next-auth" {
|
|||
* Returned by `useSession`, `getSession` and received as a prop on the `SessionProvider` React Context
|
||||
*/
|
||||
interface Session {
|
||||
user: {
|
||||
user?: {
|
||||
id: string;
|
||||
timeZone?: string | null;
|
||||
timeFormat?: TimeFormat | null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue