Move interceptor and adjust imports
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { BrowserModule, DomSanitizer } from '@angular/platform-browser';
|
||||
|
||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||
import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
|
||||
import { AppRoutingModule } from './app-routing.module';
|
||||
import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
|
||||
|
||||
import { AppComponent } from './app.component';
|
||||
import { LoginComponent } from './components/loginPage/login.component';
|
||||
import { DashboardComponent } from './components/dashboard/dashboard.component';
|
||||
@@ -13,7 +14,10 @@ import { ConsumptionLastYearComponent } from './components/subcomponents/consump
|
||||
import { MeterDataWrapperComponent } from './components/subcomponents/meter-data-wrapper/meter-data-wrapper.component';
|
||||
import { HeaderComponent } from './components/header/header.component';
|
||||
import { LoaderComponent } from './components/loader/loader.component';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { MeterDataAddDialogComponent } from './dialogs/meter-data-add-dialog/meter-data-add-dialog.component';
|
||||
import { SnackbarComponent } from './components/snackbar/snackbar.component';
|
||||
|
||||
import { AuthInterceptor } from './auth/authInterceptor';
|
||||
|
||||
import { MatCardModule } from '@angular/material/card';
|
||||
import { MatFormFieldModule } from '@angular/material/form-field';
|
||||
@@ -30,10 +34,7 @@ import { MatDialogModule } from '@angular/material/dialog';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatDatepickerModule } from '@angular/material/datepicker';
|
||||
import { MatNativeDateModule } from '@angular/material/core';
|
||||
import { MeterDataAddDialogComponent } from './dialogs/meter-data-add-dialog/meter-data-add-dialog.component';
|
||||
import { SnackbarComponent } from './components/snackbar/snackbar.component';
|
||||
import { MatSnackBarModule } from '@angular/material/snack-bar';
|
||||
import { AuthInterceptor } from './components/interceptors/authInterceptor';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
|
||||
Reference in New Issue
Block a user