From 0bf2f1d6d514228c9239f77a067e164e9c1bc434 Mon Sep 17 00:00:00 2001 From: cwm Date: Mon, 22 Jan 2018 19:38:34 -0600 Subject: [PATCH] remove unused openOnboardingModal from getting_started --- .../flavours/glitch/features/getting_started/index.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/app/javascript/flavours/glitch/features/getting_started/index.js b/app/javascript/flavours/glitch/features/getting_started/index.js index 1ae596e4a7..874f11bc85 100644 --- a/app/javascript/flavours/glitch/features/getting_started/index.js +++ b/app/javascript/flavours/glitch/features/getting_started/index.js @@ -56,15 +56,8 @@ const makeMapStateToProps = () => { const mapDispatchToProps = dispatch => ({ fetchFollowRequests: () => dispatch(fetchFollowRequests()), - fetchLists: () => dispatch(fetchLists()), - openSettings: () => dispatch(openModal('SETTINGS', {})), - - openOnboardingModal: (e) => { - e.preventDefault(); - this.props.dispatch(openModal('ONBOARDING')); - }, }); const badgeDisplay = (number, limit) => { @@ -92,7 +85,6 @@ export default class GettingStarted extends ImmutablePureComponent { lists: ImmutablePropTypes.list, fetchLists: PropTypes.func.isRequired, openSettings: PropTypes.func.isRequired, - openOnboardingModal: PropTypes.func.isRequired, }; componentWillMount () { @@ -136,7 +128,7 @@ export default class GettingStarted extends ImmutablePureComponent { } if (myAccount.get('locked')) { - navItems.push(); + navItems.push(); } navItems.push();