Skip to content

Commit 30c79d8

Browse files
authored
docs: fix import path for useSession in authentication.md
1 parent af388a8 commit 30c79d8

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)