Unverified Commit 575c8a7d authored by Zack Tanner's avatar Zack Tanner Committed by GitHub

remove unused RSC payload property (#85746)

This property is from back when we forked client router handling based
off the presence of the `postponed` payload, but it's no longer being
read by anything, so this PR removes it.
parent c54ec256
......@@ -118,7 +118,6 @@ export function createInitialRSCPayloadFromFallbackPrerender(
],
m: fallbackInitialRSCPayload.m,
G: fallbackInitialRSCPayload.G,
s: fallbackInitialRSCPayload.s,
S: fallbackInitialRSCPayload.S,
}
}
......
......@@ -1333,7 +1333,6 @@ async function getRSCPayload(
],
m: missingSlots,
G: [GlobalError, globalErrorStyles],
s: typeof ctx.renderOpts.postponed === 'string',
S: workStore.isStaticGeneration,
}
}
......@@ -1458,7 +1457,6 @@ async function getErrorRSCPayload(
] as FlightDataPath,
],
G: [GlobalError, globalErrorStyles],
s: typeof ctx.renderOpts.postponed === 'string',
S: workStore.isStaticGeneration,
} satisfies InitialRSCPayload
}
......
......@@ -288,8 +288,6 @@ export type InitialRSCPayload = {
m: Set<string> | undefined
/** GlobalError */
G: [React.ComponentType<any>, React.ReactNode | undefined]
/** postponed */
s: boolean
/** prerendered */
S: boolean
}
......
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