@samitouri / QOS-React / commits / 0706162ba7

Fix typo in comment (environement → environment) (#21635)

niexq committed Jun 7, 2021 at 20:52 UTC 0706162ba7dff8aeb4bf824473f423946c0168c9
2 files changed +2 -2
packages/react-reconciler/src/ReactFiberWorkLoop.new.js
+1 -1
@@ -427,7 +427,7 @@ export function requestUpdateLane(fiber: Fiber): Lane {
427 return updateLane;
428 }
429
430 - // This update originated outside React. Ask the host environement for an
430 + // This update originated outside React. Ask the host environment for an
431 // appropriate priority, based on the type of event.
432 //
433 // The opaque type returned by the host config is internally a lane, so we can
packages/react-reconciler/src/ReactFiberWorkLoop.old.js
+1 -1
@@ -427,7 +427,7 @@ export function requestUpdateLane(fiber: Fiber): Lane {
427 return updateLane;
428 }
429
430 - // This update originated outside React. Ask the host environement for an
430 + // This update originated outside React. Ask the host environment for an
431 // appropriate priority, based on the type of event.
432 //
433 // The opaque type returned by the host config is internally a lane, so we can