aboutsummaryrefslogtreecommitdiff
path: root/modern/src/other/PositionPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-15 09:58:37 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-15 09:58:37 -0700
commit63cf082bd077087e551d2946c3e2a48a605a3532 (patch)
tree15587eaa69ea5daa4ab483e2caa16cf665f37597 /modern/src/other/PositionPage.js
parentdcaaa40f71f45070add4f23ffda66d18b611562c (diff)
downloadtrackermap-web-63cf082bd077087e551d2946c3e2a48a605a3532.tar.gz
trackermap-web-63cf082bd077087e551d2946c3e2a48a605a3532.tar.bz2
trackermap-web-63cf082bd077087e551d2946c3e2a48a605a3532.zip
Clean up replay page
Diffstat (limited to 'modern/src/other/PositionPage.js')
-rw-r--r--modern/src/other/PositionPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/other/PositionPage.js b/modern/src/other/PositionPage.js
index d9dcd6b3..4c13955a 100644
--- a/modern/src/other/PositionPage.js
+++ b/modern/src/other/PositionPage.js
@@ -61,7 +61,7 @@ const PositionPage = () => {
<div className={classes.root}>
<AppBar position="sticky" color="inherit">
<Toolbar>
- <IconButton color="inherit" edge="start" onClick={() => history.push('/')}>
+ <IconButton color="inherit" edge="start" onClick={() => history.goBack()}>
<ArrowBackIcon />
</IconButton>
<Typography variant="h6">