Skip to content

Commit 6fb0ed9

Browse files
committed
fix: provideAnimations needed for snackbar
1 parent 0f57274 commit 6fb0ed9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/ngrx/notification/src/app/app.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { FakeBackendService } from '@angular-challenges/ngrx-notification/backend';
22
import { APP_INITIALIZER, ApplicationConfig, inject } from '@angular/core';
3+
import { provideAnimations } from '@angular/platform-browser/animations';
34
import { provideRouter } from '@angular/router';
45
import { provideEffects } from '@ngrx/effects';
56
import { provideStore } from '@ngrx/store';
@@ -42,5 +43,6 @@ export const appConfig: ApplicationConfig = {
4243
return () => service.init();
4344
},
4445
},
46+
provideAnimations(),
4547
],
4648
};

0 commit comments

Comments
 (0)