@@ -1099,7 +1099,6 @@ function commitLayoutEffectOnFiber(
1099
1099
recursivelyTraverseReappearLayoutEffects (
1100
1100
finishedRoot ,
1101
1101
finishedWork ,
1102
- committedLanes ,
1103
1102
includeWorkInProgressEffects ,
1104
1103
) ;
1105
1104
} else {
@@ -2704,7 +2703,6 @@ function reappearLayoutEffects(
2704
2703
finishedRoot : FiberRoot ,
2705
2704
current : Fiber | null ,
2706
2705
finishedWork : Fiber ,
2707
- committedLanes : Lanes ,
2708
2706
// This function visits both newly finished work and nodes that were re-used
2709
2707
// from a previously committed tree. We cannot check non-static flags if the
2710
2708
// node was reused.
@@ -2719,7 +2717,6 @@ function reappearLayoutEffects(
2719
2717
recursivelyTraverseReappearLayoutEffects (
2720
2718
finishedRoot ,
2721
2719
finishedWork ,
2722
- committedLanes ,
2723
2720
includeWorkInProgressEffects ,
2724
2721
) ;
2725
2722
// TODO: Check flags & LayoutStatic
@@ -2730,7 +2727,6 @@ function reappearLayoutEffects(
2730
2727
recursivelyTraverseReappearLayoutEffects (
2731
2728
finishedRoot ,
2732
2729
finishedWork ,
2733
- committedLanes ,
2734
2730
includeWorkInProgressEffects ,
2735
2731
) ;
2736
2732
@@ -2772,7 +2768,6 @@ function reappearLayoutEffects(
2772
2768
recursivelyTraverseReappearLayoutEffects (
2773
2769
finishedRoot ,
2774
2770
finishedWork ,
2775
- committedLanes ,
2776
2771
includeWorkInProgressEffects ,
2777
2772
) ;
2778
2773
@@ -2792,7 +2787,6 @@ function reappearLayoutEffects(
2792
2787
recursivelyTraverseReappearLayoutEffects (
2793
2788
finishedRoot ,
2794
2789
finishedWork ,
2795
- committedLanes ,
2796
2790
includeWorkInProgressEffects ,
2797
2791
) ;
2798
2792
// TODO: Figure out how Profiler updates should work with Offscreen
@@ -2805,7 +2799,6 @@ function reappearLayoutEffects(
2805
2799
recursivelyTraverseReappearLayoutEffects (
2806
2800
finishedRoot ,
2807
2801
finishedWork ,
2808
- committedLanes ,
2809
2802
includeWorkInProgressEffects ,
2810
2803
) ;
2811
2804
@@ -2825,7 +2818,6 @@ function reappearLayoutEffects(
2825
2818
recursivelyTraverseReappearLayoutEffects (
2826
2819
finishedRoot ,
2827
2820
finishedWork ,
2828
- committedLanes ,
2829
2821
includeWorkInProgressEffects ,
2830
2822
) ;
2831
2823
}
@@ -2835,7 +2827,6 @@ function reappearLayoutEffects(
2835
2827
recursivelyTraverseReappearLayoutEffects (
2836
2828
finishedRoot ,
2837
2829
finishedWork ,
2838
- committedLanes ,
2839
2830
includeWorkInProgressEffects ,
2840
2831
) ;
2841
2832
break ;
@@ -2846,7 +2837,6 @@ function reappearLayoutEffects(
2846
2837
function recursivelyTraverseReappearLayoutEffects (
2847
2838
finishedRoot : FiberRoot ,
2848
2839
parentFiber : Fiber ,
2849
- committedLanes : Lanes ,
2850
2840
includeWorkInProgressEffects : boolean ,
2851
2841
) {
2852
2842
// This function visits both newly finished work and nodes that were re-used
@@ -2865,7 +2855,6 @@ function recursivelyTraverseReappearLayoutEffects(
2865
2855
finishedRoot ,
2866
2856
current ,
2867
2857
child ,
2868
- committedLanes ,
2869
2858
childShouldIncludeWorkInProgressEffects ,
2870
2859
) ;
2871
2860
child = child . sibling ;
0 commit comments