Skip to content

Commit 3d8256f

Browse files
committed
chore: pass options (temporary references)
1 parent a2150ca commit 3d8256f

File tree

1 file changed

+2
-2
lines changed
  • packages/plugin-rsc/examples/react-router/react-router-vite

1 file changed

+2
-2
lines changed

packages/plugin-rsc/examples/react-router/react-router-vite/entry.rsc.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ export function fetchServer(request: Request) {
2323
// The app routes.
2424
routes,
2525
// Encode the match with the React Server implementation.
26-
generateResponse(match) {
27-
return new Response(renderToReadableStream(match.payload), {
26+
generateResponse(match, options) {
27+
return new Response(renderToReadableStream(match.payload, options), {
2828
status: match.statusCode,
2929
headers: match.headers,
3030
})

0 commit comments

Comments
 (0)