chore(docs): remove redundant word in comment (#30415)

Issue number: N/A

---------

remove redundant word in comment

Signed-off-by: pengqiseven <912170095@qq.com>
This commit is contained in:
pengqiseven
2025-05-20 22:24:57 +08:00
committed by GitHub
parent c3ad15b0bf
commit 00beab4af8
5 changed files with 6 additions and 6 deletions

View File

@ -2612,7 +2612,7 @@ export namespace Components {
*/
"cancelButtonIcon": string;
/**
* Set the the cancel button text. Only applies to `ios` mode.
* Set the cancel button text. Only applies to `ios` mode.
*/
"cancelButtonText": string;
/**
@ -7443,7 +7443,7 @@ declare namespace LocalJSX {
*/
"cancelButtonIcon"?: string;
/**
* Set the the cancel button text. Only applies to `ios` mode.
* Set the cancel button text. Only applies to `ios` mode.
*/
"cancelButtonText"?: string;
/**

View File

@ -386,7 +386,7 @@ export class PickerColumnCmp implements ComponentInterface {
const colEl = this.optsEl;
if (colEl) {
// DOM READ
// We perfom a DOM read over a rendered item, this needs to happen after the first render or after the the column has changed
// We perfom a DOM read over a rendered item, this needs to happen after the first render or after the column has changed
this.optHeight = colEl.firstElementChild ? colEl.firstElementChild.clientHeight : 0;
}
this.refresh(forceRefresh, animated);

View File

@ -101,7 +101,7 @@ export class Searchbar implements ComponentInterface {
@Prop() cancelButtonIcon = config.get('backButtonIcon', arrowBackSharp) as string;
/**
* Set the the cancel button text. Only applies to `ios` mode.
* Set the cancel button text. Only applies to `ios` mode.
*/
@Prop() cancelButtonText = 'Cancel';

View File

@ -273,7 +273,7 @@ Instead, use the [Update Reference Screenshots GitHub Action](https://github.com
3. Leave the input field blank.
4. Click **Run workflow**.
This workflow will re-run all of the the screenshot tests. Instead of failing any tests with mismatched screenshots, it will take new ground truth screenshots. These ground truth screenshots will be pushed as a single commit to your branch once the workflow is completed.
This workflow will re-run all of the screenshot tests. Instead of failing any tests with mismatched screenshots, it will take new ground truth screenshots. These ground truth screenshots will be pushed as a single commit to your branch once the workflow is completed.
If you want to update ground truths for a specific test, you can pass the test file path as an input to the workflow. This is useful when working on a specific component.

View File

@ -79,7 +79,7 @@ export type UseIonRouterResult = {
*/
goBack(animationBuilder?: AnimationBuilder): void;
/**
* Determines if there are any additional routes in the the Router's history. However, routing is not prevented if the browser's history has more entries. Returns true if more entries exist, false if not.
* Determines if there are any additional routes in the Router's history. However, routing is not prevented if the browser's history has more entries. Returns true if more entries exist, false if not.
*/
canGoBack(): boolean;
routeInfo: RouteInfo;