Skip to content

Commit cc52bd7

Browse files
authored
docs(start): fix import path for useSession in authentication.md (#5318)
1 parent 0a34f0c commit cc52bd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/start/framework/react/authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ TanStack Start provides secure HTTP-only cookie sessions:
9595

9696
```tsx
9797
// utils/session.ts
98-
import { useSession } from '@tanstack/react-start'
98+
import { useSession } from '@tanstack/react-start/server'
9999

100100
type SessionData = {
101101
userId?: string

0 commit comments

Comments
 (0)