From 9ae184c8534b84d922b34e2d36a329f70326188c Mon Sep 17 00:00:00 2001 From: Marc Schmidt Date: Sun, 23 Jun 2024 13:53:36 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20when=20already=20logged=20in=20the=20log?= =?UTF-8?q?in=20screen=20might=20flash=20during=20app=20s=E2=80=A6=20(#94)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …tart --- src/client/src/app/app.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/src/app/app.config.ts b/src/client/src/app/app.config.ts index ae97e9c..62e266b 100644 --- a/src/client/src/app/app.config.ts +++ b/src/client/src/app/app.config.ts @@ -60,8 +60,8 @@ export const appConfig: ApplicationConfig = { useFactory: () => { const authService = inject(AuthService); const webPushService = inject(WebPushService); - return () => { - authService.init(); + return async () => { + await authService.init(); webPushService.init(); }; },