fix for signup router

This commit is contained in:
Arseni
2026-02-05 12:00:05 +03:00
parent 81ffdd4291
commit e4fb270390
5 changed files with 6 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ class SignUpFormContent extends StatelessWidget {
Row(
children: [
IconButton(
onPressed: Navigator.of(context).pop,
onPressed: onLogin,
icon: Icon(Icons.arrow_back),
),
],
@@ -59,4 +59,4 @@ class SignUpFormContent extends StatelessWidget {
),
),
);
}
}

View File

@@ -105,7 +105,7 @@ class SignUpFormState extends State<SignUpForm> {
),
);
void handleLogin() => navigate(context, Pages.login);
void handleLogin() => navigateAndReplace(context, Pages.login);
@override
void dispose() {