aboutsummaryrefslogtreecommitdiff
path: root/modern/src/other/ReplayPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-26 17:03:00 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-26 17:03:00 -0700
commit6721b7c6c70152fe5c6b19ab38b7a9b9c8357a25 (patch)
tree65acac4723e8ccd85515c183830e0a79aea7a009 /modern/src/other/ReplayPage.js
parent19bedcceffbb3bbb83ae04f9e88d5d6d9a35a155 (diff)
downloadtrackermap-web-6721b7c6c70152fe5c6b19ab38b7a9b9c8357a25.tar.gz
trackermap-web-6721b7c6c70152fe5c6b19ab38b7a9b9c8357a25.tar.bz2
trackermap-web-6721b7c6c70152fe5c6b19ab38b7a9b9c8357a25.zip
Implement GPX import
Diffstat (limited to 'modern/src/other/ReplayPage.js')
-rw-r--r--modern/src/other/ReplayPage.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/modern/src/other/ReplayPage.js b/modern/src/other/ReplayPage.js
index fdd78765..a233e8ce 100644
--- a/modern/src/other/ReplayPage.js
+++ b/modern/src/other/ReplayPage.js
@@ -2,7 +2,7 @@ import React, {
useState, useEffect, useRef, useCallback,
} from 'react';
import {
- Grid, IconButton, Paper, Slider, Toolbar, Tooltip, Typography,
+ IconButton, Paper, Slider, Toolbar, Tooltip, Typography,
} from '@mui/material';
import makeStyles from '@mui/styles/makeStyles';
import ArrowBackIcon from '@mui/icons-material/ArrowBack';
@@ -157,11 +157,9 @@ const ReplayPage = () => {
</IconButton>
<Typography variant="h6" className={classes.title}>{t('reportReplay')}</Typography>
{!expanded && (
- <Grid item>
- <IconButton onClick={() => setExpanded(true)}>
- <SettingsIcon />
- </IconButton>
- </Grid>
+ <IconButton edge="end" onClick={() => setExpanded(true)}>
+ <SettingsIcon />
+ </IconButton>
)}
</Toolbar>
</Paper>