Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/start/framework/react/guide/middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ The `.client` method is used to define client-side logic that the middleware wil
import { createMiddleware } from '@tanstack/react-start'

const loggingMiddleware = createMiddleware({ type: 'function' }).client(
async ({ next, context, request }) => {
async ({ next, context }) => {
const result = await next() // <-- This will execute the next middleware in the chain and eventually, the RPC to the server
return result
},
Expand Down