Skip to content

Commit 9c82159

Browse files
committed
docs: remove duplicate console.info from beforeLoad example
1 parent 41dba10 commit 9c82159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/router/framework/react/guide/data-loading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ export const Route = createFileRoute('/posts')({
321321
fetchPosts: () => console.info('foo'),
322322
}),
323323
loader: ({ context: { fetchPosts } }) => {
324-
console.info(fetchPosts()) // 'foo'
324+
fetchPosts() // 'foo'
325325

326326
// ...
327327
},

0 commit comments

Comments
 (0)