aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/EventReportPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/reports/EventReportPage.js')
-rw-r--r--modern/src/reports/EventReportPage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/reports/EventReportPage.js b/modern/src/reports/EventReportPage.js
index 13e081e2..054181d0 100644
--- a/modern/src/reports/EventReportPage.js
+++ b/modern/src/reports/EventReportPage.js
@@ -6,7 +6,7 @@ import { formatPosition } from '../common/formatter';
import ReportFilter from './ReportFilter';
import ReportLayoutPage from './ReportLayoutPage';
-const ReportFilterForm = ({ setItems }) => {
+const Filter = ({ setItems }) => {
const [eventTypes, setEventTypes] = useState(['allEvents']);
@@ -60,7 +60,7 @@ const EventReportPage = () => {
const [items, setItems] = useState([]);
return (
- <ReportLayoutPage reportFilterForm={ReportFilterForm} setItems={setItems}>
+ <ReportLayoutPage filter={<Filter setItems={setItems} />}>
<TableContainer component={Paper}>
<Table>
<TableHead>