aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/map')
-rw-r--r--modern/src/map/Map.js2
-rw-r--r--modern/src/map/StatusView.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/map/Map.js b/modern/src/map/Map.js
index 47ebb1f0..9e31fa15 100644
--- a/modern/src/map/Map.js
+++ b/modern/src/map/Map.js
@@ -10,7 +10,7 @@ import { prepareIcon, loadImage } from './mapUtil';
import {
styleCarto, styleMapbox, styleMapTiler, styleOsm,
} from './mapStyles';
-import t from '../common/localization';
+import t from '../LocalizationProvider';
import { useAttributePreference } from '../common/preferences';
import palette from '../theme/palette';
diff --git a/modern/src/map/StatusView.js b/modern/src/map/StatusView.js
index 00d36c50..f4062f5a 100644
--- a/modern/src/map/StatusView.js
+++ b/modern/src/map/StatusView.js
@@ -18,7 +18,7 @@ import {
} from '../common/formatter';
import { useAttributePreference } from '../common/preferences';
import RemoveDialog from '../RemoveDialog';
-import t from '../common/localization';
+import t from '../LocalizationProvider';
import { getPosition } from '../common/selectors';
const useStyles = makeStyles((theme) => ({