From 2352071211b61c10fa5bf5736baaff7809d18bf0 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 8 May 2022 11:48:09 -0700 Subject: Organize common code --- modern/src/map/core/Map.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modern/src/map/core') diff --git a/modern/src/map/core/Map.js b/modern/src/map/core/Map.js index b763dca2..e1254af6 100644 --- a/modern/src/map/core/Map.js +++ b/modern/src/map/core/Map.js @@ -5,15 +5,15 @@ import React, { useRef, useLayoutEffect, useEffect, useState, } from 'react'; import { SwitcherControl } from '../switcher/switcher'; -import deviceCategories from '../../common/deviceCategories'; +import deviceCategories from '../../common/util/deviceCategories'; import { prepareIcon, loadImage } from './mapUtil'; import { styleCarto, styleLocationIq, styleMapbox, styleMapTiler, styleOsm, } from './mapStyles'; -import { useAttributePreference } from '../../common/preferences'; -import palette from '../../theme/palette'; +import { useAttributePreference } from '../../common/util/preferences'; +import palette from '../../common/theme/palette'; import { useTranslation } from '../../LocalizationProvider'; -import usePersistedState, { savePersistedState } from '../../common/usePersistedState'; +import usePersistedState, { savePersistedState } from '../../common/util/usePersistedState'; const element = document.createElement('div'); element.style.width = '100%'; -- cgit v1.2.3