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/SummaryReportPage.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/SummaryReportPage.js')
-rw-r--r-- | modern/src/reports/SummaryReportPage.js | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/modern/src/reports/SummaryReportPage.js b/modern/src/reports/SummaryReportPage.js index ff59a1f6..2af7d3b0 100644 --- a/modern/src/reports/SummaryReportPage.js +++ b/modern/src/reports/SummaryReportPage.js @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import { DataGrid } from '@material-ui/data-grid'; -import { FormControlLabel, Checkbox, Paper } from '@material-ui/core'; +import { FormControlLabel, Checkbox } from '@material-ui/core'; import t from '../common/localization'; import { formatDistance, formatHours, formatDate, formatSpeed, formatVolume } from '../common/formatter'; import ReportFilter from './ReportFilter'; @@ -96,14 +96,12 @@ const SummaryReportPage = () => { 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> ); } |