aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/TripReportPage.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/TripReportPage.js
parent63f25d26f42f41492a3addea856fc81d3fe73896 (diff)
downloadtrackermap-web-758647d372df2d633354fb64038d34246531aafb.tar.gz
trackermap-web-758647d372df2d633354fb64038d34246531aafb.tar.bz2
trackermap-web-758647d372df2d633354fb64038d34246531aafb.zip
moving paper component to ReportLayout page
Diffstat (limited to 'modern/src/reports/TripReportPage.js')
-rw-r--r--modern/src/reports/TripReportPage.js15
1 files changed, 6 insertions, 9 deletions
diff --git a/modern/src/reports/TripReportPage.js b/modern/src/reports/TripReportPage.js
index 5360e733..45a7786c 100644
--- a/modern/src/reports/TripReportPage.js
+++ b/modern/src/reports/TripReportPage.js
@@ -5,7 +5,6 @@ import { formatDistance, formatSpeed, formatHours, formatDate, formatVolume } fr
import ReportFilter from './ReportFilter';
import ReportLayoutPage from './ReportLayoutPage';
import { useAttributePreference } from '../common/preferences';
-import { Paper } from '@material-ui/core';
const Filter = ({ setItems }) => {
@@ -112,14 +111,12 @@ const TripReportPage = () => {
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>
);
}