From 6fb0ed9e2a99e1adbd1fa8b18f9c54f48251cdac Mon Sep 17 00:00:00 2001 From: jdegand <70610011+jdegand@users.noreply.github.com> Date: Sat, 13 Jan 2024 14:21:02 -0500 Subject: [PATCH] fix: provideAnimations needed for snackbar --- apps/ngrx/notification/src/app/app.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/ngrx/notification/src/app/app.config.ts b/apps/ngrx/notification/src/app/app.config.ts index 480c86c..b368223 100644 --- a/apps/ngrx/notification/src/app/app.config.ts +++ b/apps/ngrx/notification/src/app/app.config.ts @@ -1,5 +1,6 @@ import { FakeBackendService } from '@angular-challenges/ngrx-notification/backend'; import { APP_INITIALIZER, ApplicationConfig, inject } from '@angular/core'; +import { provideAnimations } from '@angular/platform-browser/animations'; import { provideRouter } from '@angular/router'; import { provideEffects } from '@ngrx/effects'; import { provideStore } from '@ngrx/store'; @@ -42,5 +43,6 @@ export const appConfig: ApplicationConfig = { return () => service.init(); }, }, + provideAnimations(), ], };