PrimaryNavigation: remove unused 'federating' field

profile-avatar-switcher
Alex Gleason 2021-09-20 19:05:16 -05:00
rodzic a8a0f18b2c
commit 23b14f605b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 0 dodań i 3 usunięć

Wyświetl plik

@ -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() {