async presentAlert() {
const alert = await this.toastCtrl.create({
message: 'User Exists',
duration: 3000
});
alert.present(); //update
}
Do not use await
in alert.present();
.
async presentAlert() {
const alert = await this.toastCtrl.create({
message: 'User Exists',
duration: 3000
});
alert.present(); //update
}
Do not use await
in alert.present();
.