From 8d953869da0b79941987ab1dc6eb00e643ee5d81 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 2 Sep 2021 20:44:13 -0700 Subject: Move localization provider --- modern/src/map/Map.js | 2 +- modern/src/map/StatusView.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modern/src/map') 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) => ({ -- cgit v1.2.3