From f578d078849760c5eeb0106620d56c4c960cc9c2 Mon Sep 17 00:00:00 2001 From: Chris Whong Date: Wed, 31 Jan 2024 09:56:50 -0500 Subject: [PATCH] fix streets storage handling --- src/ui/map/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/map/index.js b/src/ui/map/index.js index 4e7dc43a1..6669ebfd7 100644 --- a/src/ui/map/index.js +++ b/src/ui/map/index.js @@ -97,11 +97,11 @@ module.exports = function (context, readonly) { ); const projection = context.storage.get('projection') || DEFAULT_PROJECTION; - const activeStyle = context.storage.get('style') || DEFAULT_STYLE; + let activeStyle = context.storage.get('style') || DEFAULT_STYLE; // handle previous users who had Streets selected if (activeStyle === 'Streets') { - activeStyle === 'Standard'; + activeStyle = 'Standard'; } const { style } = styles.find((d) => d.title === activeStyle);