Skip to content

Commit 0706162

Browse files
authored
Fix typo in comment (environement → environment) (#21635)
1 parent 9d17b56 commit 0706162

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
@@ -427,7 +427,7 @@ export function requestUpdateLane(fiber: Fiber): Lane {
427427
return updateLane;
428428
}
429429

430-
// This update originated outside React. Ask the host environement for an
430+
// This update originated outside React. Ask the host environment for an
431431
// appropriate priority, based on the type of event.
432432
//
433433
// The opaque type returned by the host config is internally a lane, so we can

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ export function requestUpdateLane(fiber: Fiber): Lane {
427427
return updateLane;
428428
}
429429

430-
// This update originated outside React. Ask the host environement for an
430+
// This update originated outside React. Ask the host environment for an
431431
// appropriate priority, based on the type of event.
432432
//
433433
// The opaque type returned by the host config is internally a lane, so we can

0 commit comments

Comments
 (0)