aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/StopReportPage.js
diff options
context:
space:
mode:
authorAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-04-08 13:26:23 +0530
committerAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-04-08 13:26:23 +0530
commit758647d372df2d633354fb64038d34246531aafb (patch)
tree441d03024fef78a46182efab3b872e9e819702bb /modern/src/reports/StopReportPage.js
parent63f25d26f42f41492a3addea856fc81d3fe73896 (diff)
downloadetbsa-traccar-web-758647d372df2d633354fb64038d34246531aafb.tar.gz
etbsa-traccar-web-758647d372df2d633354fb64038d34246531aafb.tar.bz2
etbsa-traccar-web-758647d372df2d633354fb64038d34246531aafb.zip
moving paper component to ReportLayout page
Diffstat (limited to 'modern/src/reports/StopReportPage.js')
-rw-r--r--modern/src/reports/StopReportPage.js15
1 files changed, 6 insertions, 9 deletions
diff --git a/modern/src/reports/StopReportPage.js b/modern/src/reports/StopReportPage.js
index d5a2503..7873151 100644
--- a/modern/src/reports/StopReportPage.js
+++ b/modern/src/reports/StopReportPage.js
@@ -5,7 +5,6 @@ import { formatDistance, formatHours, formatDate, formatVolume } from '../common
import ReportFilter from './ReportFilter';
import ReportLayoutPage from './ReportLayoutPage';
import { useAttributePreference } from '../common/preferences';
-import { Paper } from '@material-ui/core';
const Filter = ({ setItems }) => {
@@ -81,14 +80,12 @@ const StopReportPage = () => {
return (
<ReportLayoutPage filter={<Filter setItems={setItems} />}>
- <Paper>
- <DataGrid
- rows={items}
- columns={columns}
- hideFooter
- autoHeight
- getRowId={() => Math.random()} />
- </Paper>
+ <DataGrid
+ rows={items}
+ columns={columns}
+ hideFooter
+ autoHeight
+ getRowId={() => Math.random()} />
</ReportLayoutPage>
);
};