From 14de0c4b3ed78464831608c12c6ab1ec306bbba0 Mon Sep 17 00:00:00 2001 From: niexq Date: Sat, 5 Jun 2021 22:02:24 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20typo=20in=20comment=20(satsify=20?= =?UTF-8?q?=E2=86=92=20satisfy)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/react-reconciler/src/ReactFiberWorkLoop.new.js | 2 +- packages/react-reconciler/src/ReactFiberWorkLoop.old.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-reconciler/src/ReactFiberWorkLoop.new.js b/packages/react-reconciler/src/ReactFiberWorkLoop.new.js index 0b15fb13a2351..463364793f528 100644 --- a/packages/react-reconciler/src/ReactFiberWorkLoop.new.js +++ b/packages/react-reconciler/src/ReactFiberWorkLoop.new.js @@ -1803,7 +1803,7 @@ function commitRootImpl(root, renderPriorityLevel) { // Check if there are any effects in the whole tree. // TODO: This is left over from the effect list implementation, where we had - // to check for the existence of `firstEffect` to satsify Flow. I think the + // to check for the existence of `firstEffect` to satisfy Flow. I think the // only other reason this optimization exists is because it affects profiling. // Reconsider whether this is necessary. const subtreeHasEffects = diff --git a/packages/react-reconciler/src/ReactFiberWorkLoop.old.js b/packages/react-reconciler/src/ReactFiberWorkLoop.old.js index 7b03e4cc743df..23684af637550 100644 --- a/packages/react-reconciler/src/ReactFiberWorkLoop.old.js +++ b/packages/react-reconciler/src/ReactFiberWorkLoop.old.js @@ -1803,7 +1803,7 @@ function commitRootImpl(root, renderPriorityLevel) { // Check if there are any effects in the whole tree. // TODO: This is left over from the effect list implementation, where we had - // to check for the existence of `firstEffect` to satsify Flow. I think the + // to check for the existence of `firstEffect` to satisfy Flow. I think the // only other reason this optimization exists is because it affects profiling. // Reconsider whether this is necessary. const subtreeHasEffects =