Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
liamdebeasi committed Aug 4, 2023
1 parent 841a1e2 commit 638345c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/components/alert/alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ export class Alert implements ComponentInterface, OverlayInterface {

componentDidLoad() {
/**
* Only create gesture if:
* Only create gesture if:
* 1. A gesture does not already exist
* 2. App is running in iOS mode
* 3. A wrapper ref exists
Expand All @@ -360,8 +360,8 @@ export class Alert implements ComponentInterface, OverlayInterface {
}

/**
* If toast was rendered with isOpen="true"
* then we should open toast immediately.
* If alert was rendered with isOpen="true"
* then we should open alert immediately.
*/
if (this.isOpen === true) {
raf(() => this.present());
Expand Down

0 comments on commit 638345c

Please sign in to comment.