diff --git a/docs/start/framework/react/authentication.md b/docs/start/framework/react/authentication.md index 7eb5a4b9b6b..8b7f292a154 100644 --- a/docs/start/framework/react/authentication.md +++ b/docs/start/framework/react/authentication.md @@ -95,7 +95,7 @@ TanStack Start provides secure HTTP-only cookie sessions: ```tsx // utils/session.ts -import { useSession } from '@tanstack/react-start' +import { useSession } from '@tanstack/react-start/server' type SessionData = { userId?: string