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/admin | |
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/admin')
-rw-r--r-- | modern/src/admin/ServerPage.js | 2 | ||||
-rw-r--r-- | modern/src/admin/StatisticsPage.js | 2 | ||||
-rw-r--r-- | modern/src/admin/UsersPage.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/admin/ServerPage.js b/modern/src/admin/ServerPage.js index ec0034f5..05190643 100644 --- a/modern/src/admin/ServerPage.js +++ b/modern/src/admin/ServerPage.js @@ -7,7 +7,7 @@ import { import ExpandMoreIcon from '@material-ui/icons/ExpandMore'; import { useHistory } from 'react-router-dom'; import { useDispatch, useSelector } from 'react-redux'; -import t from '../common/localization'; +import t from '../LocalizationProvider'; import { sessionActions } from '../store'; import EditAttributesView from '../attributes/EditAttributesView'; import deviceAttributes from '../attributes/deviceAttributes'; diff --git a/modern/src/admin/StatisticsPage.js b/modern/src/admin/StatisticsPage.js index 1f32c3d9..96ee4d18 100644 --- a/modern/src/admin/StatisticsPage.js +++ b/modern/src/admin/StatisticsPage.js @@ -3,7 +3,7 @@ import { FormControl, InputLabel, Select, MenuItem, TextField, Button, TableContainer, Table, TableRow, TableCell, TableHead, TableBody, Paper, } from '@material-ui/core'; import moment from 'moment'; -import t from '../common/localization'; +import t from '../LocalizationProvider'; import { formatDate } from '../common/formatter'; import OptionsLayout from '../settings/OptionsLayout'; diff --git a/modern/src/admin/UsersPage.js b/modern/src/admin/UsersPage.js index a8b3c849..2bfbb755 100644 --- a/modern/src/admin/UsersPage.js +++ b/modern/src/admin/UsersPage.js @@ -3,7 +3,7 @@ import { TableContainer, Table, TableRow, TableCell, TableHead, TableBody, makeStyles, IconButton, } from '@material-ui/core'; import MoreVertIcon from '@material-ui/icons/MoreVert'; -import t from '../common/localization'; +import t from '../LocalizationProvider'; import { useEffectAsync } from '../reactHelper'; import EditCollectionView from '../EditCollectionView'; import { formatBoolean } from '../common/formatter'; |