fix: update initial route to '/login' and use context.go for navigation in LoginScreen
This commit is contained in:
@@ -5,7 +5,7 @@ import '../../features/auth/presentation/login_screen.dart';
|
||||
|
||||
final appRouterProvider = Provider<GoRouter>((ref) {
|
||||
return GoRouter(
|
||||
initialLocation: '/recipes',
|
||||
initialLocation: '/login',
|
||||
routes: [
|
||||
GoRoute(
|
||||
path: '/login',
|
||||
|
||||
Reference in New Issue
Block a user