From 9d48872c3fd65e7fb57934d6a6b3e392ea49d575 Mon Sep 17 00:00:00 2001 From: HarelM Date: Wed, 1 Jan 2025 10:29:25 +0200 Subject: [PATCH] Fix lint --- IsraelHiking.Web/src/application/services/geojson-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IsraelHiking.Web/src/application/services/geojson-utils.ts b/IsraelHiking.Web/src/application/services/geojson-utils.ts index f4650192..c34e09c1 100644 --- a/IsraelHiking.Web/src/application/services/geojson-utils.ts +++ b/IsraelHiking.Web/src/application/services/geojson-utils.ts @@ -3,7 +3,7 @@ import { LatLngAlt } from "../models/models"; export class GeoJSONUtils { public static setPropertyUnique(feature: GeoJSON.Feature, key: string, value: string) { - let hasValue = Object.keys(feature.properties).filter(k => k.includes(key)).some(k => feature.properties[k] === value); + const hasValue = Object.keys(feature.properties).filter(k => k.includes(key)).some(k => feature.properties[k] === value); if (!hasValue) { GeoJSONUtils.setProperty(feature, key, value); }