aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src')
-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>