From 79dd42f0bdeef6d9f6331c0ec8301b2631a9cb90 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 21 May 2022 07:55:18 -0700 Subject: Fix style issues --- modern/src/map/core/Map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern/src') diff --git a/modern/src/map/core/Map.js b/modern/src/map/core/Map.js index 652d65c2..aee72312 100644 --- a/modern/src/map/core/Map.js +++ b/modern/src/map/core/Map.js @@ -4,6 +4,7 @@ import maplibregl from 'maplibre-gl'; import React, { useRef, useLayoutEffect, useEffect, useState, } from 'react'; +import { useSelector } from 'react-redux'; import { SwitcherControl } from '../switcher/switcher'; import deviceCategories from '../../common/util/deviceCategories'; import { prepareIcon, loadImage } from './mapUtil'; @@ -14,7 +15,6 @@ import { useAttributePreference } from '../../common/util/preferences'; import palette from '../../common/theme/palette'; import { useTranslation } from '../../common/components/LocalizationProvider'; import usePersistedState, { savePersistedState } from '../../common/util/usePersistedState'; -import { useSelector } from 'react-redux'; const element = document.createElement('div'); element.style.width = '100%'; -- cgit v1.2.3