diff --git a/synapse_topology/view/webui/js/components/StatsReporter.jsx b/synapse_topology/view/webui/js/components/StatsReporter.jsx
index 47ce55b521..d5f03d8d89 100644
--- a/synapse_topology/view/webui/js/components/StatsReporter.jsx
+++ b/synapse_topology/view/webui/js/components/StatsReporter.jsx
@@ -1,15 +1,16 @@
-import React from 'react';
+import React, { useState } from 'react';
import style from '../../less/main.less';
-import ButtonDisplay from './ButtonDisplay';
import Accordion from 'react-bootstrap/Accordion';
import Card from 'react-bootstrap/Card';
import { STATS_REPORT_UI } from '../reducers/ui_constants';
-export default ({ onClick }) =>
-
+export default ({ onClick }) => {
+ const [consent, setConsent] = useState(true);
+
+ return
Anonymous Statistics
@@ -20,10 +21,15 @@ export default ({ onClick }) =>
Your server will send anonymised, aggregated statistics to matrix.org
on user usage so we can measure the health of the Matrix ecosystem.
-
-
-
-
+
+
-
\ No newline at end of file
+
+}
\ No newline at end of file
--
cgit 1.5.1