From 6d024235d0b0758fdbbb85c2d89c2e52b59449fb Mon Sep 17 00:00:00 2001 From: ISA Date: Wed, 10 Jul 2024 08:40:55 +0200 Subject: [PATCH] feat: create /config/settings.js for separate of conserns SoC --- components/MapComponent.js | 6 +++--- config/settings.js | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/components/MapComponent.js b/components/MapComponent.js index 7db8c5d2c..9b320e6e4 100644 --- a/components/MapComponent.js +++ b/components/MapComponent.js @@ -74,7 +74,7 @@ import { addContextMenuToMarker, openInNewTab, } from "../utils/contextMenuUtils.js"; -import * as settings from "../config/settings.js"; +import { MAP_VERSION } from "../config/settings"; import * as layers from "../config/layers.js"; //--------------------------------------------------------------------- @@ -2275,7 +2275,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => {
- Version 1.0.0 + Version {MAP_VERSION}

- TALAS.Map Version 1.0.0 + TALAS.Map Version {MAP_VERSION}