Skip to content

Commit

Permalink
refactor: πŸ›  use standalone providers
Browse files Browse the repository at this point in the history
  • Loading branch information
yjaaidi committed Nov 3, 2023
1 parent 40fca47 commit 99d384f
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions apps/whiskmate/src/app/app.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import { ApplicationConfig, importProvidersFrom } from '@angular/core';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { HttpClientModule } from '@angular/common/http';
import { ApplicationConfig } from '@angular/core';
import { provideAnimations } from '@angular/platform-browser/animations';
import { provideHttpClient } from '@angular/common/http';

export const appConfig: ApplicationConfig = {
providers: [
importProvidersFrom(BrowserAnimationsModule),
importProvidersFrom(HttpClientModule),
],
providers: [provideAnimations(), provideHttpClient()],
};

0 comments on commit 99d384f

Please sign in to comment.