Skip to content

Commit

Permalink
fix: when already logged in the login screen might flash during app s… (
Browse files Browse the repository at this point in the history
#94)

…tart
  • Loading branch information
MaSch0212 authored Jun 23, 2024
1 parent 12af156 commit 9ae184c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/src/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
};
},
Expand Down

0 comments on commit 9ae184c

Please sign in to comment.