Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: removed duplicated words in comments #34807

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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