mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Remove unused argument from finishConcurrentRender (#19689)
This commit is contained in:
1 parent
af219cc6e6
commit
c4e0768d74
2 files changed
+4
-4
No files matched your search
@@ -859,7 +859,7 @@ function performConcurrentWorkOnRoot(root) {
|
||||
const finishedWork: Fiber = (root.current.alternate: any);
|
||||
root.finishedWork = finishedWork;
|
||||
root.finishedLanes = lanes;
|
||||
finishConcurrentRender(root, finishedWork, exitStatus, lanes);
|
||||
finishConcurrentRender(root, exitStatus, lanes);
|
||||
}
|
||||
|
||||
ensureRootIsScheduled(root, now());
|
||||
@@ -871,7 +871,7 @@ function performConcurrentWorkOnRoot(root) {
|
||||
return null;
|
||||
}
|
||||
|
||||
function finishConcurrentRender(root, finishedWork, exitStatus, lanes) {
|
||||
function finishConcurrentRender(root, exitStatus, lanes) {
|
||||
switch (exitStatus) {
|
||||
case RootIncomplete:
|
||||
case RootFatalErrored: {
|
||||
|
||||
@@ -847,7 +847,7 @@ function performConcurrentWorkOnRoot(root) {
|
||||
const finishedWork: Fiber = (root.current.alternate: any);
|
||||
root.finishedWork = finishedWork;
|
||||
root.finishedLanes = lanes;
|
||||
finishConcurrentRender(root, finishedWork, exitStatus, lanes);
|
||||
finishConcurrentRender(root, exitStatus, lanes);
|
||||
}
|
||||
|
||||
ensureRootIsScheduled(root, now());
|
||||
@@ -859,7 +859,7 @@ function performConcurrentWorkOnRoot(root) {
|
||||
return null;
|
||||
}
|
||||
|
||||
function finishConcurrentRender(root, finishedWork, exitStatus, lanes) {
|
||||
function finishConcurrentRender(root, exitStatus, lanes) {
|
||||
switch (exitStatus) {
|
||||
case RootIncomplete:
|
||||
case RootFatalErrored: {
|
||||
|
||||
Reference in new issue
Block a user