From 73fc72487ea364b01d8bc9c3553437797cae8176 Mon Sep 17 00:00:00 2001 From: Ahrar Date: Wed, 28 Feb 2024 11:28:15 +0800 Subject: [PATCH] chore(deriv_auth): change navigation to signupPage in verifyemailpage --- .../features/signup/pages/verify_email_page.dart | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/deriv_auth/lib/features/single_entry/features/signup/pages/verify_email_page.dart b/packages/deriv_auth/lib/features/single_entry/features/signup/pages/verify_email_page.dart index 09cacf63e..d12203b6f 100644 --- a/packages/deriv_auth/lib/features/single_entry/features/signup/pages/verify_email_page.dart +++ b/packages/deriv_auth/lib/features/single_entry/features/signup/pages/verify_email_page.dart @@ -1,4 +1,5 @@ import 'package:deriv_auth/deriv_auth.dart'; +import 'package:deriv_auth/features/single_entry/features/signup/pages/signup_page.dart'; import 'package:flutter/material.dart'; /// Verify email page @@ -29,12 +30,8 @@ class _VerifyEmailPageState extends State { Navigator.of(context).pushReplacement(MaterialPageRoute( builder: (BuildContext context) => DerivEmailNotReceivedLayout( onReEnterEmailPressed: () => Navigator.of(context).pushReplacement( - MaterialPageRoute( - builder: (BuildContext context) => DerivVerifyEmailLayout( - email: widget.email, - onEmailNotReceivedPressed: () => - onEmailNotReceivedPressed(context), - ), + MaterialPageRoute( + builder: (BuildContext context) => const SignupPage(), ), ), ),