Skip to content

Commit

Permalink
Refactor: removed duplicated words in comments (#34807)
Browse files Browse the repository at this point in the history
Summary:
Found and removed duplicates of the word "the" in comments.

## Changelog

[Internal] [Removed] – Removed duplicates of the word "the" in comments.

Pull Request resolved: #34807

Test Plan: Not applicable.

Reviewed By: yungsters, cipolleschi

Differential Revision: D39880587

fbshipit-source-id: b7277aa70604902929903c31ab69d4c532f2667a
  • Loading branch information
Vicachu42 authored and facebook-github-bot committed Sep 28, 2022
1 parent 278dad6 commit 7f061f8
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Libraries/Components/ScrollView/ScrollView.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ export interface ScrollViewPropsIOS {
scrollsToTop?: boolean | undefined;

/**
* When `snapToInterval` is set, `snapToAlignment` will define the relationship of the the snapping to the scroll view.
* When `snapToInterval` is set, `snapToAlignment` will define the relationship of the snapping to the scroll view.
* - `start` (the default) will align the snap at the left (horizontal) or top (vertical)
* - `center` will align the snap in the center
* - `end` will align the snap at the right (horizontal) or bottom (vertical)
Expand Down Expand Up @@ -564,7 +564,7 @@ export interface ScrollViewPropsAndroid {
nestedScrollEnabled?: boolean | undefined;

/**
* Fades out the edges of the the scroll content.
* Fades out the edges of the scroll content.
*
* If the value is greater than 0, the fading edges will be set accordingly
* to the current scroll direction and position,
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Components/ScrollView/ScrollView.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ type AndroidProps = $ReadOnly<{|
*/
persistentScrollbar?: ?boolean,
/**
* Fades out the edges of the the scroll content.
* Fades out the edges of the scroll content.
*
* If the value is greater than 0, the fading edges will be set accordingly
* to the current scroll direction and position,
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Components/Switch/Switch.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export interface SwitchProps extends SwitchPropsIOS {
disabled?: boolean | undefined;

/**
* Invoked with the the change event as an argument when the value changes.
* Invoked with the change event as an argument when the value changes.
*/
onChange?:
| ((event: SwitchChangeEvent) => Promise<void> | void)
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Lists/FlatList.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export interface FlatListProps<ItemT> extends VirtualizedListProps<ItemT> {
removeClippedSubviews?: boolean | undefined;

/**
* Fades out the edges of the the scroll content.
* Fades out the edges of the scroll content.
*
* If the value is greater than 0, the fading edges will be set accordingly
* to the current scroll direction and position,
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Lists/__tests__/VirtualizedList-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ describe('VirtualizedList', () => {

// The initial render is specified to be the length of items provided.
// Expect that all sticky items (1 every 3) are passed to the underlying
// scrollview, indices offset by 1 to account for the the header component.
// scrollview, indices offset by 1 to account for the header component.
expect(component).toMatchSnapshot();
});

Expand Down
2 changes: 1 addition & 1 deletion React/CxxBridge/RCTCxxBridge.mm
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ - (void)registerExtraModules

NSMutableArray<id<RCTBridgeModule>> *extraModules = [NSMutableArray new];

// Prevent TurboModules from appearing the the NativeModule system
// Prevent TurboModules from appearing the NativeModule system
for (id<RCTBridgeModule> module in appExtraModules) {
if (!(RCTTurboModuleEnabled() && [module conformsToProtocol:@protocol(RCTTurboModule)])) {
[extraModules addObject:module];
Expand Down

0 comments on commit 7f061f8

Please sign in to comment.