Fix typo (#20466)
inokawa committed
Feb 11, 2021 at 13:35 UTC
78ec97d34aebce8a9970c5ee0df76cd3399d6e60
3 files changed
+3
-3
packages/react-reconciler/src/ReactFiberCompleteWork.new.js
+1
-1
@@ -1059,7 +1059,7 @@ function completeWork(
1059
}
1060
1061
if (nextDidTimeout && !prevDidTimeout) {
1062
- // If this subtreee is running in blocking mode we can suspend,
1062
+ // If this subtree is running in blocking mode we can suspend,
1063
// otherwise we won't suspend.
1064
// TODO: This will still suspend a synchronous tree if anything
1065
// in the concurrent tree already suspended during this render.
packages/react-reconciler/src/ReactFiberCompleteWork.old.js
+1
-1
@@ -1059,7 +1059,7 @@ function completeWork(
1059
}
1060
1061
if (nextDidTimeout && !prevDidTimeout) {
1062
- // If this subtreee is running in blocking mode we can suspend,
1062
+ // If this subtree is running in blocking mode we can suspend,
1063
// otherwise we won't suspend.
1064
// TODO: This will still suspend a synchronous tree if anything
1065
// in the concurrent tree already suspended during this render.
packages/react/src/__tests__/ReactProfiler-test.internal.js
+1
-1
@@ -778,7 +778,7 @@ describe('Profiler', () => {
778
},
779
);
780
781
- // Flush sync work with a nested upate
781
+ // Flush sync work with a nested update
782
ReactNoop.flushSync(() => {
783
ReactNoop.render(
784
<React.Profiler id="root" onRender={onRender}>