Skip to content

Commit e8e9fc4

Browse files
committed
Remove unused arg
1 parent fd248c9 commit e8e9fc4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,6 @@ export function getChildFormatContext(
900900
}
901901

902902
function getSuspenseViewTransition(
903-
resumableState: ResumableState,
904903
parentViewTransition: null | ViewTransitionContext,
905904
): null | ViewTransitionContext {
906905
if (parentViewTransition === null) {
@@ -944,7 +943,7 @@ export function getSuspenseFallbackFormatContext(
944943
parentContext.insertionMode,
945944
parentContext.selectedValue,
946945
parentContext.tagScope | FALLBACK_SCOPE | EXIT_SCOPE,
947-
getSuspenseViewTransition(resumableState, parentContext.viewTransition),
946+
getSuspenseViewTransition(parentContext.viewTransition),
948947
);
949948
}
950949

@@ -956,7 +955,7 @@ export function getSuspenseContentFormatContext(
956955
parentContext.insertionMode,
957956
parentContext.selectedValue,
958957
parentContext.tagScope | ENTER_SCOPE,
959-
getSuspenseViewTransition(resumableState, parentContext.viewTransition),
958+
getSuspenseViewTransition(parentContext.viewTransition),
960959
);
961960
}
962961

0 commit comments

Comments
 (0)