diff options
author | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-04-08 13:26:23 +0530 |
---|---|---|
committer | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-04-08 13:26:23 +0530 |
commit | 758647d372df2d633354fb64038d34246531aafb (patch) | |
tree | 441d03024fef78a46182efab3b872e9e819702bb /modern/src/reports/TripReportPage.js | |
parent | 63f25d26f42f41492a3addea856fc81d3fe73896 (diff) | |
download | trackermap-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.js | 15 |
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> ); } |