diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-23 07:19:30 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-23 07:19:30 -0700 |
commit | 85461684eb402d4df62c8b59e0a0f627bd3487c1 (patch) | |
tree | 6ce2832da2f07d8ea0d54d6ce5f30ab9efc7edaa /modern/src/other/EventPage.js | |
parent | ddcb42512e95e98806db0523e4d954484a6e48cc (diff) | |
download | trackermap-web-85461684eb402d4df62c8b59e0a0f627bd3487c1.tar.gz trackermap-web-85461684eb402d4df62c8b59e0a0f627bd3487c1.tar.bz2 trackermap-web-85461684eb402d4df62c8b59e0a0f627bd3487c1.zip |
Initial migration to MUI 5
Diffstat (limited to 'modern/src/other/EventPage.js')
-rw-r--r-- | modern/src/other/EventPage.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/modern/src/other/EventPage.js b/modern/src/other/EventPage.js index 9f5f7c84..d2f12ed1 100644 --- a/modern/src/other/EventPage.js +++ b/modern/src/other/EventPage.js @@ -1,9 +1,10 @@ import React, { useState } from 'react'; import { - makeStyles, Typography, AppBar, Toolbar, IconButton, -} from '@material-ui/core'; -import ArrowBackIcon from '@material-ui/icons/ArrowBack'; + Typography, AppBar, Toolbar, IconButton, +} from '@mui/material'; +import makeStyles from '@mui/styles/makeStyles'; +import ArrowBackIcon from '@mui/icons-material/ArrowBack'; import { useNavigate, useParams } from 'react-router-dom'; import { useEffectAsync } from '../reactHelper'; import { useTranslation } from '../common/components/LocalizationProvider'; @@ -60,7 +61,7 @@ const EventPage = () => { <div className={classes.root}> <AppBar color="inherit" position="static"> <Toolbar> - <IconButton color="inherit" edge="start" onClick={() => navigate('/')}> + <IconButton size="large" color="inherit" edge="start" onClick={() => navigate('/')}> <ArrowBackIcon /> </IconButton> <Typography variant="h6">{t('positionEvent')}</Typography> |