From a0111a190b5a2c4ad5b38c2027b8bdbc4a5af34c Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Wed, 8 Dec 2021 17:50:49 +0100 Subject: [PATCH] Simplify code Co-authored-by: Tom Russell --- app/src/frontend/map/layers/city-base-map-layer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/frontend/map/layers/city-base-map-layer.tsx b/app/src/frontend/map/layers/city-base-map-layer.tsx index ce57f513..bfa58f4e 100644 --- a/app/src/frontend/map/layers/city-base-map-layer.tsx +++ b/app/src/frontend/map/layers/city-base-map-layer.tsx @@ -18,7 +18,7 @@ export function CityBaseMapLayer({ theme }: { theme: MapTheme }) { const apiKey = OS_API_KEY; // Note that OS APIs does not provide dark theme - const layer = theme === 'light' ? 'Light_3857' : 'Light_3857'; + const layer = 'Light_3857'; // In either theme case, we will use OS's light theme, but add our own filter const theme_class = theme === 'light' ? "light-theme" : "night-theme";