Skip to content

Commit

Permalink
feat: use async animations (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlj95 authored Mar 13, 2024
1 parent 6b7d674 commit 2f2d6ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
} from '@angular/router'
import { APP_METADATA_PROVIDERS } from './app.metadata-imports'
import { routes } from './app.routes'
import { provideAnimations } from '@angular/platform-browser/animations'
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async'

export const appConfig: ApplicationConfig = {
providers: [
Expand All @@ -14,7 +14,7 @@ export const appConfig: ApplicationConfig = {
// 👇 Needed for SSR
withEnabledBlockingInitialNavigation(),
),
provideAnimations(),
provideAnimationsAsync(),
...APP_METADATA_PROVIDERS,
],
}

0 comments on commit 2f2d6ab

Please sign in to comment.