Skip to content

Commit ed984e1

Browse files
committed
Fix typo
1 parent 604bbcd commit ed984e1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ function completeWork(
10481048
}
10491049

10501050
if (nextDidTimeout && !prevDidTimeout) {
1051-
// If this subtreee is running in blocking mode we can suspend,
1051+
// If this subtree is running in blocking mode we can suspend,
10521052
// otherwise we won't suspend.
10531053
// TODO: This will still suspend a synchronous tree if anything
10541054
// in the concurrent tree already suspended during this render.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ function completeWork(
10481048
}
10491049

10501050
if (nextDidTimeout && !prevDidTimeout) {
1051-
// If this subtreee is running in blocking mode we can suspend,
1051+
// If this subtree is running in blocking mode we can suspend,
10521052
// otherwise we won't suspend.
10531053
// TODO: This will still suspend a synchronous tree if anything
10541054
// in the concurrent tree already suspended during this render.

packages/react/src/__tests__/ReactProfiler-test.internal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ describe('Profiler', () => {
778778
},
779779
);
780780

781-
// Flush sync work with a nested upate
781+
// Flush sync work with a nested update
782782
ReactNoop.flushSync(() => {
783783
ReactNoop.render(
784784
<React.Profiler id="root" onRender={onRender}>

0 commit comments

Comments
 (0)