Merge pull request #494 from jdegand/ngrx-am-animations

fix: provideAnimations needed for snackbar
This commit is contained in:
Laforge Thomas
2024-01-14 20:55:34 +01:00
committed by GitHub

View File

@@ -1,5 +1,6 @@
import { FakeBackendService } from '@angular-challenges/ngrx-notification/backend'; import { FakeBackendService } from '@angular-challenges/ngrx-notification/backend';
import { APP_INITIALIZER, ApplicationConfig, inject } from '@angular/core'; import { APP_INITIALIZER, ApplicationConfig, inject } from '@angular/core';
import { provideAnimations } from '@angular/platform-browser/animations';
import { provideRouter } from '@angular/router'; import { provideRouter } from '@angular/router';
import { provideEffects } from '@ngrx/effects'; import { provideEffects } from '@ngrx/effects';
import { provideStore } from '@ngrx/store'; import { provideStore } from '@ngrx/store';
@@ -42,5 +43,6 @@ export const appConfig: ApplicationConfig = {
return () => service.init(); return () => service.init();
}, },
}, },
provideAnimations(),
], ],
}; };