Skip to content

Commit f1a4973

Browse files
fix(docs): correct server function name in example (#7173)
1 parent e82dded commit f1a4973

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)