aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-08 09:09:50 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-08 09:09:50 -0700
commitbe0409f7e855cecceb4e38db611afd3beca255ff (patch)
tree4d1ac1d4064430c69c9f5e814905d781de9caa6e
parentcbdb291c475d624ff0f8abaa1a99952e6438bd9c (diff)
downloadtrackermap-web-be0409f7e855cecceb4e38db611afd3beca255ff.tar.gz
trackermap-web-be0409f7e855cecceb4e38db611afd3beca255ff.tar.bz2
trackermap-web-be0409f7e855cecceb4e38db611afd3beca255ff.zip
Revent background color
-rw-r--r--modern/src/admin/StatisticsPage.js11
1 files changed, 2 insertions, 9 deletions
diff --git a/modern/src/admin/StatisticsPage.js b/modern/src/admin/StatisticsPage.js
index c2e160dc..5088178e 100644
--- a/modern/src/admin/StatisticsPage.js
+++ b/modern/src/admin/StatisticsPage.js
@@ -1,18 +1,12 @@
import React, { useState } from 'react';
import {
- FormControl, InputLabel, Select, MenuItem, TextField, Button, TableContainer, Table, TableRow, TableCell, TableHead, TableBody, makeStyles,
+ FormControl, InputLabel, Select, MenuItem, TextField, Button, TableContainer, Table, TableRow, TableCell, TableHead, TableBody,
} from '@material-ui/core';
import moment from 'moment';
import { formatDate } from '../common/formatter';
import OptionsLayout from '../settings/OptionsLayout';
import { useTranslation } from '../LocalizationProvider';
-const useStyles = makeStyles((theme) => ({
- table: {
- backgroundColor: theme.palette.colors.white,
- },
-}));
-
const Filter = ({ setItems }) => {
const t = useTranslation();
@@ -103,7 +97,6 @@ const Filter = ({ setItems }) => {
};
const StatisticsPage = () => {
- const classes = useStyles();
const t = useTranslation();
const [items, setItems] = useState([]);
@@ -111,7 +104,7 @@ const StatisticsPage = () => {
return (
<OptionsLayout>
<Filter setItems={setItems} />
- <TableContainer className={classes.table}>
+ <TableContainer>
<Table>
<TableHead>
<TableRow>