feat: integrate ErrorService for consistent error display and standardize bloc error messages.
This commit is contained in:
@@ -117,9 +117,7 @@ class _SignUpPageState extends State<SignUpPage> {
|
||||
);
|
||||
Navigator.pushReplacementNamed(context, '/home');
|
||||
} else if (state is AuthError) {
|
||||
_errorService.showError(
|
||||
message: 'Erreur lors de la création du compte',
|
||||
);
|
||||
_errorService.showError(message: state.message);
|
||||
}
|
||||
},
|
||||
builder: (context, state) {
|
||||
|
||||
Reference in New Issue
Block a user