aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-rw-r--r--modern/src/map/core/Map.js2
1 files changed, 1 insertions, 1 deletions
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%';