6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit b27eb272

AuthorMikkel Thygesen<mikkelet@gmail.com>
Date2026-02-19 11:12:15 +0100
3672: fixed routing bug

Changed files

comwell_key_app/lib/routing/app_router.dart | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Diff

diff --git a/comwell_key_app/lib/routing/app_router.dart b/comwell_key_app/lib/routing/app_router.dart
index fcbfae7d..3301cac1 100644
--- a/comwell_key_app/lib/routing/app_router.dart
+++ b/comwell_key_app/lib/routing/app_router.dart
@@ -45,7 +45,7 @@ final router = GoRouter(
navigatorKey: _rootNavigatorKey,
debugLogDiagnostics: true,
observers: [GoRouterObserver()],
- redirect: (context, state) async {
+ redirect: (context, state) {
final authRepo = locator<AuthenticationRepository>();
final isLoggedIn = authRepo.isLoggedIn;
final isException = authExceptions.contains(state.matchedLocation);