diff --git a/IsraelHiking.Web/src/application/components/location.component.ts b/IsraelHiking.Web/src/application/components/location.component.ts index 9af04a744..b3e5c71b2 100644 --- a/IsraelHiking.Web/src/application/components/location.component.ts +++ b/IsraelHiking.Web/src/application/components/location.component.ts @@ -52,7 +52,7 @@ export class LocationComponent extends BaseMapComponent { this.lastSpeedTime = null; this.clearLocationFeatureCollection(); - this.store.select((state: ApplicationState) => state.inMemoryState.distance).pipe(takeUntilDestroyed()).subscribe(distance => {; + this.store.select((state: ApplicationState) => state.inMemoryState.distance).pipe(takeUntilDestroyed()).subscribe(distance => { this.showDistance = distance; this.updateDistanceFeatureCollection(); }); diff --git a/IsraelHiking.Web/src/application/components/map/routes.component.ts b/IsraelHiking.Web/src/application/components/map/routes.component.ts index b68a7805d..e4c0b08eb 100644 --- a/IsraelHiking.Web/src/application/components/map/routes.component.ts +++ b/IsraelHiking.Web/src/application/components/map/routes.component.ts @@ -76,7 +76,7 @@ export class RoutesComponent extends BaseMapComponent implements AfterViewInit { this.routes = routes; this.setInteractionAccordingToState(); this.buildFeatureCollections(); - }; + } private buildFeatureCollections() { let features = [] as GeoJSON.Feature[]; diff --git a/IsraelHiking.Web/src/application/services/purchase.service.ts b/IsraelHiking.Web/src/application/services/purchase.service.ts index 0f3a60207..57c14bd5a 100644 --- a/IsraelHiking.Web/src/application/services/purchase.service.ts +++ b/IsraelHiking.Web/src/application/services/purchase.service.ts @@ -1,14 +1,12 @@ import { Injectable } from "@angular/core"; -import { Observable } from "rxjs"; -import { Store, Select } from "@ngxs/store"; +import { Store } from "@ngxs/store"; import "cordova-plugin-purchase"; -import type { Immutable } from "immer"; import { RunningContextService } from "./running-context.service"; import { LoggingService } from "./logging.service"; import { OfflineFilesDownloadService } from "./offline-files-download.service"; import { SetOfflineAvailableAction } from "../reducers/offline.reducer"; -import type { ApplicationState, UserInfo } from "../models/models"; +import type { ApplicationState } from "../models/models"; const OFFLINE_MAPS_SUBSCRIPTION = "offline_map"; diff --git a/IsraelHiking.Web/src/application/services/recorded-route.service.ts b/IsraelHiking.Web/src/application/services/recorded-route.service.ts index ffa3add79..70fd21c1b 100644 --- a/IsraelHiking.Web/src/application/services/recorded-route.service.ts +++ b/IsraelHiking.Web/src/application/services/recorded-route.service.ts @@ -1,6 +1,5 @@ import { Injectable } from "@angular/core"; -import { Observable } from "rxjs"; -import { Store, Select } from "@ngxs/store"; +import { Store } from "@ngxs/store"; import type { Immutable } from "immer"; import { LoggingService } from "./logging.service"; diff --git a/IsraelHiking.Web/src/application/services/screen.service.ts b/IsraelHiking.Web/src/application/services/screen.service.ts index 26b2d1664..ebe27da4e 100644 --- a/IsraelHiking.Web/src/application/services/screen.service.ts +++ b/IsraelHiking.Web/src/application/services/screen.service.ts @@ -9,7 +9,7 @@ import { Store } from "@ngxs/store"; import { RunningContextService } from "./running-context.service"; import { LoggingService } from "./logging.service"; import { ToggleAddRecordingPoiAction } from "../reducers/recorded-route.reducer"; -import type { ApplicationState, BatteryOptimizationType } from "../models/models"; +import type { ApplicationState } from "../models/models"; @Injectable() export class ScreenService {