Fix validation stacks on initial load

parent e9205bf2
...@@ -3324,8 +3324,8 @@ async function renderWithRestartOnCacheMissInDev( ...@@ -3324,8 +3324,8 @@ async function renderWithRestartOnCacheMissInDev(
dynamicChunks, dynamicChunks,
staticInterruptReason: finalStageController.getStaticInterruptReason(), staticInterruptReason: finalStageController.getStaticInterruptReason(),
runtimeInterruptReason: finalStageController.getRuntimeInterruptReason(), runtimeInterruptReason: finalStageController.getRuntimeInterruptReason(),
staticStageEndTime: initialStageController.getStaticStageEndTime(), staticStageEndTime: finalStageController.getStaticStageEndTime(),
runtimeStageEndTime: initialStageController.getRuntimeStageEndTime(), runtimeStageEndTime: finalStageController.getRuntimeStageEndTime(),
debugChannel, debugChannel,
requestStore, requestStore,
} }
......
...@@ -64,7 +64,6 @@ const fetchRandom = async (entropy: string) => { ...@@ -64,7 +64,6 @@ const fetchRandom = async (entropy: string) => {
'https://next-data-api-endpoint.vercel.app/api/random?b=' + entropy '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. // 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( await fetch(
'https://next-data-api-endpoint.vercel.app/api/random?b=' + entropy + 'x' '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