From 8d56a292a5df90c00699f01e9188d7185a9b18af Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 20 Jun 2022 06:44:37 -0700 Subject: Fix custom map --- modern/src/map/core/useMapStyles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern/src/map') diff --git a/modern/src/map/core/useMapStyles.js b/modern/src/map/core/useMapStyles.js index bbdf0ea9..8f1423f1 100644 --- a/modern/src/map/core/useMapStyles.js +++ b/modern/src/map/core/useMapStyles.js @@ -153,7 +153,7 @@ export default () => { { id: 'custom', title: t('mapCustom'), - style: styleCustom(customMapUrl), + style: styleCustom([customMapUrl]), available: !!customMapUrl, }, ]; -- cgit v1.2.3