Skip to content
Source
Sign inSign up
TanStack/router

docs: fix import path for useSession in authentication.md #5318

Mergedjohnf(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/5318/headmerged by SeanCassiere

Showing 1 changed file with 1 addition and 1 deletion.

x
0 of 1 viewed, 1 left
1 addition and 1 deletiondocs/start/framework/react/authentication.mdModified
View file
@@ -95,7 +95,7 @@
​
```tsx
// utils/session.ts
-import { useSession } from '@tanstack/react-start'
+import { useSession } from '@tanstack/react-start/server'
​
type SessionData = {
userId?: string