aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/RouteReportPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/reports/RouteReportPage.js')
-rw-r--r--modern/src/reports/RouteReportPage.js4
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}>