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( ...@@ -118,7 +118,6 @@ export function createInitialRSCPayloadFromFallbackPrerender(
], ],
m: fallbackInitialRSCPayload.m, m: fallbackInitialRSCPayload.m,
G: fallbackInitialRSCPayload.G, G: fallbackInitialRSCPayload.G,
s: fallbackInitialRSCPayload.s,
S: fallbackInitialRSCPayload.S, S: fallbackInitialRSCPayload.S,
} }
} }
......
...@@ -1333,7 +1333,6 @@ async function getRSCPayload( ...@@ -1333,7 +1333,6 @@ async function getRSCPayload(
], ],
m: missingSlots, m: missingSlots,
G: [GlobalError, globalErrorStyles], G: [GlobalError, globalErrorStyles],
s: typeof ctx.renderOpts.postponed === 'string',
S: workStore.isStaticGeneration, S: workStore.isStaticGeneration,
} }
} }
...@@ -1458,7 +1457,6 @@ async function getErrorRSCPayload( ...@@ -1458,7 +1457,6 @@ async function getErrorRSCPayload(
] as FlightDataPath, ] as FlightDataPath,
], ],
G: [GlobalError, globalErrorStyles], G: [GlobalError, globalErrorStyles],
s: typeof ctx.renderOpts.postponed === 'string',
S: workStore.isStaticGeneration, S: workStore.isStaticGeneration,
} satisfies InitialRSCPayload } satisfies InitialRSCPayload
} }
......
...@@ -288,8 +288,6 @@ export type InitialRSCPayload = { ...@@ -288,8 +288,6 @@ export type InitialRSCPayload = {
m: Set<string> | undefined m: Set<string> | undefined
/** GlobalError */ /** GlobalError */
G: [React.ComponentType<any>, React.ReactNode | undefined] G: [React.ComponentType<any>, React.ReactNode | undefined]
/** postponed */
s: boolean
/** prerendered */ /** prerendered */
S: boolean 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