diff options
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(); |