GeezerVison is showing github.com — Remove unused argument from `finishConcurrentRender` (#19689) · react/react@c4e0768
File treeExpand file treeCollapse file tree Open diff view settings packages/react-reconciler/src
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberWorkLoop.new.js +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -859,7 +859,7 @@ function performConcurrentWorkOnRoot(root) { | 859 | 859 | const finishedWork: Fiber = (root.current.alternate: any); | 860 | 860 | root.finishedWork = finishedWork; | 861 | 861 | root.finishedLanes = lanes; | 862 | | - finishConcurrentRender(root, finishedWork, exitStatus, lanes); | | 862 | + finishConcurrentRender(root, exitStatus, lanes); | 863 | 863 | } | 864 | 864 |
| 865 | 865 | ensureRootIsScheduled(root, now()); | @@ -871,7 +871,7 @@ function performConcurrentWorkOnRoot(root) { | 871 | 871 | return null; | 872 | 872 | } | 873 | 873 |
| 874 | | -function finishConcurrentRender(root, finishedWork, exitStatus, lanes) { | | 874 | +function finishConcurrentRender(root, exitStatus, lanes) { | 875 | 875 | switch (exitStatus) { | 876 | 876 | case RootIncomplete: | 877 | 877 | case RootFatalErrored: { | |
Collapse file Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberWorkLoop.old.js +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -847,7 +847,7 @@ function performConcurrentWorkOnRoot(root) { | 847 | 847 | const finishedWork: Fiber = (root.current.alternate: any); | 848 | 848 | root.finishedWork = finishedWork; | 849 | 849 | root.finishedLanes = lanes; | 850 | | - finishConcurrentRender(root, finishedWork, exitStatus, lanes); | | 850 | + finishConcurrentRender(root, exitStatus, lanes); | 851 | 851 | } | 852 | 852 |
| 853 | 853 | ensureRootIsScheduled(root, now()); | @@ -859,7 +859,7 @@ function performConcurrentWorkOnRoot(root) { | 859 | 859 | return null; | 860 | 860 | } | 861 | 861 |
| 862 | | -function finishConcurrentRender(root, finishedWork, exitStatus, lanes) { | | 862 | +function finishConcurrentRender(root, exitStatus, lanes) { | 863 | 863 | switch (exitStatus) { | 864 | 864 | case RootIncomplete: | 865 | 865 | case RootFatalErrored: { | |
|