diff --git a/core/src/components/modal/readme.md b/core/src/components/modal/readme.md index ae31618783..1f586ad7d9 100644 --- a/core/src/components/modal/readme.md +++ b/core/src/components/modal/readme.md @@ -90,7 +90,7 @@ export class ModalPage { constructor(navParams: NavParams) { // componentProps can also be accessed at construction time using NavParams - console.log(navParams.get('firstName'); + console.log(navParams.get('firstName')); } } diff --git a/core/src/components/modal/usage/angular.md b/core/src/components/modal/usage/angular.md index 8fbec8a0d5..aa8e255e54 100644 --- a/core/src/components/modal/usage/angular.md +++ b/core/src/components/modal/usage/angular.md @@ -68,7 +68,7 @@ export class ModalPage { constructor(navParams: NavParams) { // componentProps can also be accessed at construction time using NavParams - console.log(navParams.get('firstName'); + console.log(navParams.get('firstName')); } }