Skip to content

Commit 7eb8eed

Browse files
committed
refactor: removed duplicated words in comments
1 parent cb5084d commit 7eb8eed

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module.exports = {
5959
'space-before-blocks': ERROR,
6060
'space-before-function-paren': OFF,
6161
'valid-typeof': [ERROR, {requireStringLiterals: true}],
62-
// Flow fails with with non-string literal keys
62+
// Flow fails with non-string literal keys
6363
'no-useless-computed-key': OFF,
6464

6565
// We apply these settings to files that should run on Node.

packages/jest-react/src/internalAct.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ function flushActWork(resolve, reject) {
139139
// Once the scheduler queue is empty, run all the timers. The purpose of this
140140
// is to force any pending fallbacks to commit. The public version of act does
141141
// this with dev-only React runtime logic, but since our internal act needs to
142-
// work work production builds of React, we have to cheat.
142+
// work production builds of React, we have to cheat.
143143
// $FlowFixMe: Flow doesn't know about global Jest object
144144
jest.runOnlyPendingTimers();
145145
if (Scheduler.unstable_hasPendingWork()) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ function dispatchEventOriginal(
225225

226226
if (allowReplay) {
227227
if (isDiscreteEventThatRequiresHydration(domEventName)) {
228-
// This this to be replayed later once the target is available.
228+
// This to be replayed later once the target is available.
229229
queueDiscreteEvent(
230230
blockedOn,
231231
domEventName,

0 commit comments

Comments
 (0)