diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-02 20:44:13 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-02 20:44:13 -0700 |
commit | 8d953869da0b79941987ab1dc6eb00e643ee5d81 (patch) | |
tree | 30247cb60ef6b7577224b5e74df52c7c23b2d011 /modern/src/map | |
parent | e07d5ff079527da0c07c4f8ede0aaef272517393 (diff) | |
download | trackermap-web-8d953869da0b79941987ab1dc6eb00e643ee5d81.tar.gz trackermap-web-8d953869da0b79941987ab1dc6eb00e643ee5d81.tar.bz2 trackermap-web-8d953869da0b79941987ab1dc6eb00e643ee5d81.zip |
Move localization provider
Diffstat (limited to 'modern/src/map')
-rw-r--r-- | modern/src/map/Map.js | 2 | ||||
-rw-r--r-- | modern/src/map/StatusView.js | 2 |
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) => ({ |