Fix typo in comment (satsify → satisfy) (#21629)
niexq committed
Jun 6, 2021 at 02:02 UTC
9d17b562ba427adb1bced98f4231406ec573c422
2 files changed
+2
-2
packages/react-reconciler/src/ReactFiberWorkLoop.new.js
+1
-1
@@ -1803,7 +1803,7 @@ function commitRootImpl(root, renderPriorityLevel) {
1803
1804
// Check if there are any effects in the whole tree.
1805
// TODO: This is left over from the effect list implementation, where we had
1806
- // to check for the existence of `firstEffect` to satsify Flow. I think the
1806
+ // to check for the existence of `firstEffect` to satisfy Flow. I think the
1807
// only other reason this optimization exists is because it affects profiling.
1808
// Reconsider whether this is necessary.
1809
const subtreeHasEffects =
packages/react-reconciler/src/ReactFiberWorkLoop.old.js
+1
-1
@@ -1803,7 +1803,7 @@ function commitRootImpl(root, renderPriorityLevel) {
1803
1804
// Check if there are any effects in the whole tree.
1805
// TODO: This is left over from the effect list implementation, where we had
1806
- // to check for the existence of `firstEffect` to satsify Flow. I think the
1806
+ // to check for the existence of `firstEffect` to satisfy Flow. I think the
1807
// only other reason this optimization exists is because it affects profiling.
1808
// Reconsider whether this is necessary.
1809
const subtreeHasEffects =