Skip to content

Commit

Permalink
refactor: removed duplicated words in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicachu42 committed Sep 27, 2022
1 parent cb5084d commit 7eb8eed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module.exports = {
'space-before-blocks': ERROR,
'space-before-function-paren': OFF,
'valid-typeof': [ERROR, {requireStringLiterals: true}],
// Flow fails with with non-string literal keys
// Flow fails with non-string literal keys
'no-useless-computed-key': OFF,

// We apply these settings to files that should run on Node.
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-react/src/internalAct.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function flushActWork(resolve, reject) {
// Once the scheduler queue is empty, run all the timers. The purpose of this
// is to force any pending fallbacks to commit. The public version of act does
// this with dev-only React runtime logic, but since our internal act needs to
// work work production builds of React, we have to cheat.
// work production builds of React, we have to cheat.
// $FlowFixMe: Flow doesn't know about global Jest object
jest.runOnlyPendingTimers();
if (Scheduler.unstable_hasPendingWork()) {
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 @@ -225,7 +225,7 @@ function dispatchEventOriginal(

if (allowReplay) {
if (isDiscreteEventThatRequiresHydration(domEventName)) {
// This this to be replayed later once the target is available.
// This to be replayed later once the target is available.
queueDiscreteEvent(
blockedOn,
domEventName,
Expand Down

0 comments on commit 7eb8eed

Please sign in to comment.