feat(auth): optimistic navigation to verification screen
This commit is contained in:
@@ -53,10 +53,11 @@ class _RegisterViewState extends State<RegisterView> {
|
||||
return;
|
||||
}
|
||||
|
||||
final success = await cubit.submitStep1();
|
||||
if (success && mounted) {
|
||||
if (mounted) {
|
||||
context.push('/register/verification', extra: cubit);
|
||||
}
|
||||
|
||||
cubit.sendCodeSilently();
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user