From 390146a568a7f5fb463e2f26e58f1a496b7b790c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Choi=C5=84ski?= Date: Fri, 26 Jan 2024 23:17:54 +0100 Subject: [PATCH] fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Grzegorz ChoiƄski --- Foodie/ClientApp/src/app/app.module.ts | 5 ----- Foodie/ClientApp/src/app/app.server.module.ts | 3 +-- Foodie/ClientApp/src/app/services/meals.service.ts | 1 - 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Foodie/ClientApp/src/app/app.module.ts b/Foodie/ClientApp/src/app/app.module.ts index f4fe802..269586c 100644 --- a/Foodie/ClientApp/src/app/app.module.ts +++ b/Foodie/ClientApp/src/app/app.module.ts @@ -96,11 +96,6 @@ export class MyHammerConfig extends HammerGestureConfig { MatSnackBarModule, MatButtonToggleModule ], - entryComponents: [ - IngriedientDialogComponent, - ProductDialogComponent, - MealsCountExceededSnackBarComponent - ], providers: [ { provide: HTTP_INTERCEPTORS, useClass: AuthorizeInterceptor, multi: true }, { provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig, }, diff --git a/Foodie/ClientApp/src/app/app.server.module.ts b/Foodie/ClientApp/src/app/app.server.module.ts index cfb0e02..316380b 100644 --- a/Foodie/ClientApp/src/app/app.server.module.ts +++ b/Foodie/ClientApp/src/app/app.server.module.ts @@ -1,11 +1,10 @@ import { NgModule } from '@angular/core'; import { ServerModule } from '@angular/platform-server'; -import { ModuleMapLoaderModule } from '@nguniversal/module-map-ngfactory-loader'; import { AppComponent } from './app.component'; import { AppModule } from './app.module'; @NgModule({ - imports: [AppModule, ServerModule, ModuleMapLoaderModule], + imports: [AppModule, ServerModule], bootstrap: [AppComponent] }) export class AppServerModule { } diff --git a/Foodie/ClientApp/src/app/services/meals.service.ts b/Foodie/ClientApp/src/app/services/meals.service.ts index 2cc231e..79e90e4 100644 --- a/Foodie/ClientApp/src/app/services/meals.service.ts +++ b/Foodie/ClientApp/src/app/services/meals.service.ts @@ -3,7 +3,6 @@ import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { Meal } from '../models/meal'; import { DatePipe } from '@angular/common'; -import { debug } from 'util'; import { Ingriedient } from '../models/ingiedient'; import { Macro } from '../models/macro';