Skip to content

Commit

Permalink
Fix typo (#20188)
Browse files Browse the repository at this point in the history
  • Loading branch information
inokawa authored Nov 9, 2020
1 parent c29710a commit fc06cf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-dom/src/events/DOMPluginEventSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ export function dispatchEventForPluginEventSystem(
if (
enableLegacyFBSupport &&
// If our event flags match the required flags for entering
// FB legacy mode and we are prcocessing the "click" event,
// FB legacy mode and we are processing the "click" event,
// then we can defer the event to the "document", to allow
// for legacy FB support, where the expected behavior was to
// match React < 16 behavior of delegated clicks to the doc.
Expand Down
2 changes: 1 addition & 1 deletion packages/react-dom/src/events/ReactDOMEventListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export function dispatchEvent(
return;
}
// We need to clear only if we didn't queue because
// queueing is accummulative.
// queueing is accumulative.
clearIfContinuousEvent(domEventName, nativeEvent);
}

Expand Down

0 comments on commit fc06cf8

Please sign in to comment.