From df8f928d44d27376282c3f534e1c3334dea690ae Mon Sep 17 00:00:00 2001 From: Ilkka Kuosmanen Date: Tue, 2 Apr 2024 12:55:07 +0300 Subject: [PATCH] Update --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 8df4ec9..7d6f23b 100644 --- a/src/index.js +++ b/src/index.js @@ -9,7 +9,7 @@ const lcjs = require('@arction/lcjs') const { lightningChart, MapTypes, PalettedFill, LUT, ColorRGBA, formatLongitudeLatitude, regularColorSteps, Themes } = lcjs const mapChart = lightningChart().Map({ - theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined + theme: Themes[new URLSearchParams(window.location.search).get('theme') || 'darkGold'] || undefined, type: MapTypes.Europe, }) const theme = mapChart.getTheme()