Skip to content

Commit 9d17b56

Browse files
authored
Fix typo in comment (satsify → satisfy) (#21629)
1 parent b610fec commit 9d17b56

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-reconciler/src/ReactFiberWorkLoop.new.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1803,7 +1803,7 @@ function commitRootImpl(root, renderPriorityLevel) {
18031803

18041804
// Check if there are any effects in the whole tree.
18051805
// 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
18071807
// only other reason this optimization exists is because it affects profiling.
18081808
// Reconsider whether this is necessary.
18091809
const subtreeHasEffects =

packages/react-reconciler/src/ReactFiberWorkLoop.old.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1803,7 +1803,7 @@ function commitRootImpl(root, renderPriorityLevel) {
18031803

18041804
// Check if there are any effects in the whole tree.
18051805
// 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
18071807
// only other reason this optimization exists is because it affects profiling.
18081808
// Reconsider whether this is necessary.
18091809
const subtreeHasEffects =

0 commit comments

Comments
 (0)