We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2494589 commit 97feae7Copy full SHA for 97feae7
packages/next-auth/src/react/index.tsx
@@ -74,7 +74,7 @@ export type SessionContextValue<R extends boolean = false> = R extends true
74
| { data: Session; status: "authenticated" }
75
| { data: null; status: "unauthenticated" | "loading" }
76
77
-const SessionContext = React.createContext<SessionContextValue | undefined>(
+export const SessionContext = React.createContext<SessionContextValue | undefined>(
78
undefined
79
)
80
0 commit comments