Unverified Commit d9bcc4a6 authored by Jude Gao's avatar Jude Gao Committed by GitHub

[Segment Cache] Fix isHeadPartial logic (#81566)

This PR fixed two typos that affected isHeadPartial logic.
parent fcfae6eb
......@@ -1466,7 +1466,7 @@ function writeDynamicTreeResponseIntoCache(
entry,
convertRootFlightRouterStateToRouteTree(flightRouterState),
flightData.head,
isResponsePartial,
flightData.isHeadPartial,
now + staleTimeMs,
couldBeIntercepted,
canonicalUrl,
......
......@@ -171,7 +171,7 @@ export async function walkTreeWithFlightRouterState({
routerState,
null,
[null, null],
false,
true,
] satisfies FlightDataSegment,
]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment