diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-02 23:19:33 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-02 23:19:33 -0700 |
commit | e5f07d30df69c1fff28cf1ff8502e4843a8b543c (patch) | |
tree | adc9bf04df3a911e8e0f7bda7df815cd8669113d /modern/src/components/BottomNav.js | |
parent | 26f4e5835d5fb2f0b5035837e2e90ef012b242f0 (diff) | |
download | trackermap-web-e5f07d30df69c1fff28cf1ff8502e4843a8b543c.tar.gz trackermap-web-e5f07d30df69c1fff28cf1ff8502e4843a8b543c.tar.bz2 trackermap-web-e5f07d30df69c1fff28cf1ff8502e4843a8b543c.zip |
Migrate components
Diffstat (limited to 'modern/src/components/BottomNav.js')
-rw-r--r-- | modern/src/components/BottomNav.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modern/src/components/BottomNav.js b/modern/src/components/BottomNav.js index fbb115e8..3d1a6752 100644 --- a/modern/src/components/BottomNav.js +++ b/modern/src/components/BottomNav.js @@ -12,7 +12,7 @@ import MapIcon from '@material-ui/icons/Map'; import LogoutIcon from '@material-ui/icons/ExitToApp'; import { sessionActions } from '../store'; -import t from '../LocalizationProvider'; +import { useTranslation } from '../LocalizationProvider'; const useStyles = makeStyles((theme) => ({ container: { @@ -46,6 +46,7 @@ const BottomNav = ({ showOnDesktop }) => { const classes = useStyles(); const theme = useTheme(); const history = useHistory(); + const t = useTranslation(); const isDesktop = useMediaQuery(theme.breakpoints.up('lg')); const dispatch = useDispatch(); |