From 37cf29d9f1c9788c9f9efe247173b3bc9705ddc7 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 18 Feb 2022 22:18:39 -0500 Subject: [PATCH 1/2] LinkFooter: link to /settings/migration, not /settings/aliases --- .../features/ui/components/link_footer.js | 21 +++++++------------ 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/app/soapbox/features/ui/components/link_footer.js b/app/soapbox/features/ui/components/link_footer.js index 6710d44f0..0e1d66aae 100644 --- a/app/soapbox/features/ui/components/link_footer.js +++ b/app/soapbox/features/ui/components/link_footer.js @@ -16,14 +16,10 @@ const mapStateToProps = state => { const me = state.get('me'); const account = state.getIn(['accounts', me]); const instance = state.get('instance'); - const features = getFeatures(instance); return { account, - profileDirectory: features.profileDirectory, - federating: features.federating, - showAliases: features.accountAliasesAPI, - importAPI: features.importAPI, + features: getFeatures(instance), baseURL: getBaseURL(account), }; }; @@ -39,25 +35,25 @@ const mapDispatchToProps = (dispatch, { intl }) => ({ }, }); -const LinkFooter = ({ onOpenHotkeys, account, profileDirectory, federating, showAliases, importAPI, onClickLogOut, baseURL }) => ( +const LinkFooter = ({ onOpenHotkeys, account, features, onClickLogOut, baseURL }) => (