Skip to content

Commit

Permalink
[Flight] Align turbopack option name with webpack name (#31301)
Browse files Browse the repository at this point in the history
This was renamed in #31300.
  • Loading branch information
sebmarkbage authored Oct 20, 2024
1 parent d49123f commit c1e1358
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ describe('ReactFlightTurbopackDOMEdge', () => {
turbopackMap,
);
const response = ReactServerDOMClient.createFromReadableStream(stream, {
serverManifest: {
serverConsumerManifest: {
moduleMap: translationMap,
moduleLoading: null,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ type EncodeFormActionCallback = <A>(
) => ReactCustomFormAction;

export type Options = {
serverManifest: ServerConsumerManifest,
serverConsumerManifest: ServerConsumerManifest,
nonce?: string,
encodeFormAction?: EncodeFormActionCallback,
temporaryReferences?: TemporaryReferenceSet,
Expand All @@ -79,9 +79,9 @@ export type Options = {

function createResponseFromOptions(options: Options) {
return createResponse(
options.serverManifest.moduleMap,
options.serverManifest.serverModuleMap,
options.serverManifest.moduleLoading,
options.serverConsumerManifest.moduleMap,
options.serverConsumerManifest.serverModuleMap,
options.serverConsumerManifest.moduleLoading,
noServerCall,
options.encodeFormAction,
typeof options.nonce === 'string' ? options.nonce : undefined,
Expand Down

0 comments on commit c1e1358

Please sign in to comment.