Fix validation stacks on initial load

parent e9205bf2
......@@ -3324,8 +3324,8 @@ async function renderWithRestartOnCacheMissInDev(
dynamicChunks,
staticInterruptReason: finalStageController.getStaticInterruptReason(),
runtimeInterruptReason: finalStageController.getRuntimeInterruptReason(),
staticStageEndTime: initialStageController.getStaticStageEndTime(),
runtimeStageEndTime: initialStageController.getRuntimeStageEndTime(),
staticStageEndTime: finalStageController.getStaticStageEndTime(),
runtimeStageEndTime: finalStageController.getRuntimeStageEndTime(),
debugChannel,
requestStore,
}
......
......@@ -64,7 +64,6 @@ const fetchRandom = async (entropy: string) => {
'https://next-data-api-endpoint.vercel.app/api/random?b=' + entropy
)
// The error should point at the fetch above, and not at the following fetch.
// FIXME: On the first load after starting the dev server that doesn't work.
await fetch(
'https://next-data-api-endpoint.vercel.app/api/random?b=' + entropy + 'x'
)
......
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