Skip to content

Commit d06f342

Browse files
committed
Step 17.15: Redirect to FacebookPage from the VerificationPage
1 parent 443616b commit d06f342

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/verification/verification.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { AfterContentInit, Component, OnInit } from '@angular/core';
22
import { AlertController, NavController, NavParams } from 'ionic-angular';
33
import { PhoneService } from '../../services/phone';
4-
import { ProfilePage } from '../profile/profile';
4+
import { FacebookPage } from "../login/facebook";
55

66
@Component({
77
selector: 'verification',
@@ -43,7 +43,7 @@ export class VerificationPage implements OnInit, AfterContentInit {
4343

4444
verify(): void {
4545
this.phoneService.login(this.phone, this.code).then(() => {
46-
this.navCtrl.setRoot(ProfilePage, {}, {
46+
this.navCtrl.setRoot(FacebookPage, {}, {
4747
animate: true
4848
});
4949
})

0 commit comments

Comments
 (0)