Skip to content

Commit fea0612

Browse files
committed
docs(modal): fix typo in usage
closes ionic-team/ionic-docs#806
1 parent 2d39c07 commit fea0612

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/components/modal/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class ModalPage {
9090

9191
constructor(navParams: NavParams) {
9292
// componentProps can also be accessed at construction time using NavParams
93-
console.log(navParams.get('firstName');
93+
console.log(navParams.get('firstName'));
9494
}
9595

9696
}

core/src/components/modal/usage/angular.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class ModalPage {
6868

6969
constructor(navParams: NavParams) {
7070
// componentProps can also be accessed at construction time using NavParams
71-
console.log(navParams.get('firstName');
71+
console.log(navParams.get('firstName'));
7272
}
7373

7474
}

0 commit comments

Comments
 (0)