From fab4fb80ab4f1e17be77485da3425a04f5807a8c Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 30 Dec 2020 17:57:49 -0600 Subject: [PATCH] Admin: use domain stat in dashboard again now that report counter is visible --- app/soapbox/features/admin/index.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/soapbox/features/admin/index.js b/app/soapbox/features/admin/index.js index 506416540..8aeff4f76 100644 --- a/app/soapbox/features/admin/index.js +++ b/app/soapbox/features/admin/index.js @@ -14,7 +14,6 @@ const messages = defineMessages({ const mapStateToProps = (state, props) => ({ instance: state.get('instance'), - openReportCount: state.getIn(['admin', 'open_report_count']), }); export default @connect(mapStateToProps) @@ -24,7 +23,6 @@ class Dashboard extends ImmutablePureComponent { static propTypes = { intl: PropTypes.object.isRequired, instance: ImmutablePropTypes.map.isRequired, - openReportCount: PropTypes.number, }; render() { @@ -55,14 +53,14 @@ class Dashboard extends ImmutablePureComponent {
- +
- +
- +
-
+