diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-21 07:55:18 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-21 07:55:18 -0700 |
commit | 79dd42f0bdeef6d9f6331c0ec8301b2631a9cb90 (patch) | |
tree | 0ebd691d666da81b0bdc05f5d0750c4049f0dce9 /modern/src/map/core | |
parent | 3175d85dfe6cd4db2285063dd4c8d361b324e01f (diff) | |
download | trackermap-web-79dd42f0bdeef6d9f6331c0ec8301b2631a9cb90.tar.gz trackermap-web-79dd42f0bdeef6d9f6331c0ec8301b2631a9cb90.tar.bz2 trackermap-web-79dd42f0bdeef6d9f6331c0ec8301b2631a9cb90.zip |
Fix style issues
Diffstat (limited to 'modern/src/map/core')
-rw-r--r-- | modern/src/map/core/Map.js | 2 |
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%'; |