diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-20 23:17:59 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-20 23:17:59 -0700 |
commit | f575540df13fd67881daf6a3359e2d1a53da9fb0 (patch) | |
tree | 530afdb06144f64ff6d9b4f79000b33b0c34dbac /modern/src/reports | |
parent | b318cfd66ee2fa9918797fc0e0226a01983da746 (diff) | |
download | trackermap-web-f575540df13fd67881daf6a3359e2d1a53da9fb0.tar.gz trackermap-web-f575540df13fd67881daf6a3359e2d1a53da9fb0.tar.bz2 trackermap-web-f575540df13fd67881daf6a3359e2d1a53da9fb0.zip |
Remove unused code
Diffstat (limited to 'modern/src/reports')
-rw-r--r-- | modern/src/reports/RouteReportPage.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modern/src/reports/RouteReportPage.js b/modern/src/reports/RouteReportPage.js index eb0ccc55..406cc422 100644 --- a/modern/src/reports/RouteReportPage.js +++ b/modern/src/reports/RouteReportPage.js @@ -1,6 +1,5 @@ import React, { useState } from 'react'; import MainToobar from '../MainToolbar'; -import { useHistory } from 'react-router-dom'; import { Grid, TableContainer, Table, TableRow, TableCell, TableHead, TableBody, Paper, makeStyles, FormControl, InputLabel, Select, MenuItem, Button, TextField } from '@material-ui/core'; import t from '../common/localization'; import { useSelector } from 'react-redux'; @@ -24,7 +23,6 @@ const useStyles = makeStyles(theme => ({ })); const RouteReportPage = () => { - const history = useHistory(); const classes = useStyles(); const devices = useSelector(state => Object.values(state.devices.items)); const [deviceId, setDeviceId] = useState(); @@ -81,7 +79,7 @@ const RouteReportPage = () => { return ( <div className={classes.root}> - <MainToobar history={history} /> + <MainToobar /> <div className={classes.content}> <Grid container spacing={2}> <Grid item xs={12} md={3} lg={2}> |