File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { enableProdMode , importProvidersFrom } from '@angular/core' ;
2
2
import { environment } from './environments/environment' ;
3
3
import { AppComponent } from './app/app.component' ;
4
- import { provideAnimations } from '@angular/platform-browser/animations' ;
4
+ import { provideAnimationsAsync } from '@angular/platform-browser/animations/async ' ;
5
5
import { bootstrapApplication , BrowserModule } from '@angular/platform-browser' ;
6
6
7
7
if ( environment . production ) {
8
8
enableProdMode ( ) ;
9
9
}
10
10
11
11
bootstrapApplication ( AppComponent , {
12
- providers : [ importProvidersFrom ( BrowserModule ) , provideAnimations ( ) ] ,
12
+ providers : [ importProvidersFrom ( BrowserModule ) , provideAnimationsAsync ( ) ] ,
13
13
} ) . catch ( ( err : unknown ) => {
14
14
console . error ( err ) ;
15
15
} ) ;
You can’t perform that action at this time.
0 commit comments