WIP: Injections, so klappt es für beide!! master
authorKai Moritz <kai@juplo.de>
Sun, 7 Sep 2025 11:30:09 +0000 (13:30 +0200)
committerKai Moritz <kai@juplo.de>
Sun, 7 Sep 2025 11:30:21 +0000 (13:30 +0200)
src/app/store/login.effects.ts

index bf29516..5f1b912 100644 (file)
@@ -7,6 +7,7 @@ import { AuthService } from '../services/auth.service';
 
 @Injectable()
 export class LoginEffects {
 
 @Injectable()
 export class LoginEffects {
+  private actions$ = inject(Actions);
   private authService = inject(AuthService);
 
   login$ = createEffect(() =>
   private authService = inject(AuthService);
 
   login$ = createEffect(() =>
@@ -20,6 +21,4 @@ export class LoginEffects {
       )
     )
   );
       )
     )
   );
-
-  constructor(private actions$: Actions) {}
 }
 }