Skip to content

Commit

Permalink
fix:Added intial root
Browse files Browse the repository at this point in the history
  • Loading branch information
angrezichatterbox committed May 17, 2024
1 parent e6d41e5 commit a4b4ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class MyApp extends StatelessWidget {
useMaterial3: true,
),
navigatorObservers: [ObserverUtils.routeObserver],
initialRoute: '/',
initialRoute: initialRoute,
routes: {
'/': (context) => const LoginPage(),
'/mainPage': (context) => const Navigation()
Expand Down

0 comments on commit a4b4ac6

Please sign in to comment.