aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modern/src/map/overlay/useMapOverlays.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/modern/src/map/overlay/useMapOverlays.js b/modern/src/map/overlay/useMapOverlays.js
index d82397d6..e6311202 100644
--- a/modern/src/map/overlay/useMapOverlays.js
+++ b/modern/src/map/overlay/useMapOverlays.js
@@ -30,35 +30,35 @@ export default () => {
{
id: 'openWeatherClouds',
title: t('mapOpenWeatherClouds'),
- source: sourceOpenWeather('clouds_new', 'openWeatherKey'),
+ source: sourceOpenWeather('clouds_new', openWeatherKey),
available: !!openWeatherKey,
attribute: 'openWeatherKey',
},
{
id: 'openWeatherPrecipitation',
title: t('mapOpenWeatherPrecipitation'),
- source: sourceOpenWeather('precipitation_new', 'openWeatherKey'),
+ source: sourceOpenWeather('precipitation_new', openWeatherKey),
available: !!openWeatherKey,
attribute: 'openWeatherKey',
},
{
id: 'openWeatherPressure',
title: t('mapOpenWeatherPressure'),
- source: sourceOpenWeather('pressure_new', 'openWeatherKey'),
+ source: sourceOpenWeather('pressure_new', openWeatherKey),
available: !!openWeatherKey,
attribute: 'openWeatherKey',
},
{
id: 'openWeatherWind',
title: t('mapOpenWeatherWind'),
- source: sourceOpenWeather('wind_new', 'openWeatherKey'),
+ source: sourceOpenWeather('wind_new', openWeatherKey),
available: !!openWeatherKey,
attribute: 'openWeatherKey',
},
{
id: 'openWeatherTemperature',
title: t('mapOpenWeatherTemperature'),
- source: sourceOpenWeather('temp_new', 'openWeatherKey'),
+ source: sourceOpenWeather('temp_new', openWeatherKey),
available: !!openWeatherKey,
attribute: 'openWeatherKey',
},