diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-02 23:20:12 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-02 23:20:12 -0700 |
commit | e6f906dbb565abdb29297ec67db3c922135c628c (patch) | |
tree | a6d1c89436d066ec9171b6a68e8d5e7eeb56d2de /modern/src/PositionPage.js | |
parent | e5f07d30df69c1fff28cf1ff8502e4843a8b543c (diff) | |
download | trackermap-web-e6f906dbb565abdb29297ec67db3c922135c628c.tar.gz trackermap-web-e6f906dbb565abdb29297ec67db3c922135c628c.tar.bz2 trackermap-web-e6f906dbb565abdb29297ec67db3c922135c628c.zip |
Migrate components
Diffstat (limited to 'modern/src/PositionPage.js')
-rw-r--r-- | modern/src/PositionPage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/PositionPage.js b/modern/src/PositionPage.js index 51c3c856..37bc922c 100644 --- a/modern/src/PositionPage.js +++ b/modern/src/PositionPage.js @@ -4,7 +4,6 @@ import { makeStyles, Typography, ListItem, ListItemText, ListItemSecondaryAction, List, Container, Paper, Divider, } from '@material-ui/core'; import { useParams } from 'react-router-dom'; -import t from './LocalizationProvider'; import { useEffectAsync } from './reactHelper'; import MainToolbar from './MainToolbar'; import { formatPosition } from './common/formatter'; @@ -19,6 +18,7 @@ const useStyles = makeStyles((theme) => ({ const PositionPage = () => { const classes = useStyles(); + const t = useTranslation(); const { id } = useParams(); |