Skip to content

Commit 76e88b3

Browse files
fix(docs): correct server function name in example
1 parent c857087 commit 76e88b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/start/framework/react/guide/server-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Call server functions from:
5252
```tsx
5353
// In a route loader
5454
export const Route = createFileRoute('/posts')({
55-
loader: () => getPosts(),
55+
loader: () => getServerPosts(),
5656
})
5757

5858
// In a component

0 commit comments

Comments
 (0)