File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ import { HttpClientModule } from "@angular/common/http";
4
4
import { BrowserAnimationsModule } from "@angular/platform-browser/animations" ;
5
5
import { FormsModule , ReactiveFormsModule } from "@angular/forms" ;
6
6
7
- import { FontAwesomeModule } from "@fortawesome/angular-fontawesome" ;
8
- import { library } from "@fortawesome/fontawesome-svg-core" ;
7
+ import { FontAwesomeModule , FaIconLibrary } from "@fortawesome/angular-fontawesome" ;
9
8
import {
10
9
faCogs ,
11
10
faHdd ,
@@ -94,8 +93,8 @@ import { FormGpusComponent } from "./resource-form/form-gpus/form-gpus.component
94
93
entryComponents : [ SnackBarComponent , ConfirmDialogComponent ]
95
94
} )
96
95
export class AppModule {
97
- constructor ( ) {
98
- library . add (
96
+ constructor ( library : FaIconLibrary ) {
97
+ library . addIcons (
99
98
faCogs ,
100
99
faHdd ,
101
100
faBook ,
You can’t perform that action at this time.
0 commit comments