@samitouri / QOS-React-2 / commits / fc06cf8d35

Fix typo (#20188)

inokawa committed Nov 9, 2020 at 23:17 UTC fc06cf8d3509329eba61a1f1f0b6f5c466f32bcc
2 files changed +2 -2
packages/react-dom/src/events/DOMPluginEventSystem.js
+1 -1
@@ -551,7 +551,7 @@ export function dispatchEventForPluginEventSystem(
551 if (
552 enableLegacyFBSupport &&
553 // If our event flags match the required flags for entering
554 - // FB legacy mode and we are prcocessing the "click" event,
554 + // FB legacy mode and we are processing the "click" event,
555 // then we can defer the event to the "document", to allow
556 // for legacy FB support, where the expected behavior was to
557 // match React < 16 behavior of delegated clicks to the doc.
packages/react-dom/src/events/ReactDOMEventListener.js
+1 -1
@@ -252,7 +252,7 @@ export function dispatchEvent(
252 return;
253 }
254 // We need to clear only if we didn't queue because
255 - // queueing is accummulative.
255 + // queueing is accumulative.
256 clearIfContinuousEvent(domEventName, nativeEvent);
257 }
258