Skip to content

Commit 40bbc3e

Browse files
committed
refactor(app.config): use provideAnimationAsync
1 parent 4423627 commit 40bbc3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/app.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ApplicationConfig, importProvidersFrom } from '@angular/core';
2-
import { provideAnimations } from '@angular/platform-browser/animations';
2+
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
33
import {
44
provideRouter,
55
withEnabledBlockingInitialNavigation,
@@ -29,6 +29,6 @@ export const appConfig: ApplicationConfig = {
2929
),
3030
importProvidersFrom(SidebarModule, DropdownModule),
3131
IconSetService,
32-
provideAnimations()
32+
provideAnimationsAsync()
3333
]
3434
};

0 commit comments

Comments
 (0)