Skip to content

Commit fc06cf8

Browse files
authored
Fix typo (#20188)
1 parent c29710a commit fc06cf8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-dom/src/events/DOMPluginEventSystem.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ export function dispatchEventForPluginEventSystem(
551551
if (
552552
enableLegacyFBSupport &&
553553
// 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,
555555
// then we can defer the event to the "document", to allow
556556
// for legacy FB support, where the expected behavior was to
557557
// match React < 16 behavior of delegated clicks to the doc.

packages/react-dom/src/events/ReactDOMEventListener.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export function dispatchEvent(
252252
return;
253253
}
254254
// We need to clear only if we didn't queue because
255-
// queueing is accummulative.
255+
// queueing is accumulative.
256256
clearIfContinuousEvent(domEventName, nativeEvent);
257257
}
258258

0 commit comments

Comments
 (0)