fix(flutter): redirect to /home after login (was /dashboard which no longer exists)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-03-08 01:32:54 -08:00
parent 164d42e6b8
commit 924b826542
1 changed files with 2 additions and 2 deletions

View File

@ -282,7 +282,7 @@ class _LoginPageState extends ConsumerState<LoginPage> {
_emailController.text.trim(),
_passwordController.text,
);
if (success && mounted) context.go('/dashboard');
if (success && mounted) context.go('/home');
}
Future<void> _handleOtpLogin() async {
@ -291,6 +291,6 @@ class _LoginPageState extends ConsumerState<LoginPage> {
_phoneController.text.trim(),
_otpController.text.trim(),
);
if (success && mounted) context.go('/dashboard');
if (success && mounted) context.go('/home');
}
}