Skip to content

Commit

Permalink
fix: Update from deprecated font-awesome usage
Browse files Browse the repository at this point in the history
  • Loading branch information
brendangadd committed Aug 19, 2020
1 parent c4e6fa7 commit b7ee560
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import { HttpClientModule } from "@angular/common/http";
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";

import { FontAwesomeModule } from "@fortawesome/angular-fontawesome";
import { library } from "@fortawesome/fontawesome-svg-core";
import { FontAwesomeModule, FaIconLibrary } from "@fortawesome/angular-fontawesome";
import {
faCogs,
faHdd,
Expand Down Expand Up @@ -94,8 +93,8 @@ import { FormGpusComponent } from "./resource-form/form-gpus/form-gpus.component
entryComponents: [SnackBarComponent, ConfirmDialogComponent]
})
export class AppModule {
constructor() {
library.add(
constructor(library: FaIconLibrary) {
library.addIcons(
faCogs,
faHdd,
faBook,
Expand Down

0 comments on commit b7ee560

Please sign in to comment.