From 23b14f605bcfb65f8c6fca2d2dff24d0d999e941 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 20 Sep 2021 19:05:16 -0500 Subject: [PATCH] PrimaryNavigation: remove unused 'federating' field --- app/soapbox/components/primary_navigation.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/soapbox/components/primary_navigation.js b/app/soapbox/components/primary_navigation.js index 0e1474081..73101c6c6 100644 --- a/app/soapbox/components/primary_navigation.js +++ b/app/soapbox/components/primary_navigation.js @@ -17,7 +17,6 @@ const mapStateToProps = state => { const reportsCount = state.getIn(['admin', 'openReports']).count(); const approvalCount = state.getIn(['admin', 'awaitingApproval']).count(); const instance = state.get('instance'); - const features = getFeatures(instance); return { account: state.getIn(['accounts', me]), @@ -27,7 +26,6 @@ const mapStateToProps = state => { dashboardCount: reportsCount + approvalCount, features: getFeatures(instance), siteTitle: state.getIn(['instance', 'title']), - federating: features.federating, }; }; @@ -47,7 +45,6 @@ class PrimaryNavigation extends React.PureComponent { chatsCount: PropTypes.number, features: PropTypes.object.isRequired, siteTitle: PropTypes.string, - federating: PropTypes.bool, }; render() {