about summary refs log tree commit diff
path: root/app/javascript/flavours
diff options
context:
space:
mode:
authorcwm <chriswmartin@protonmail.com>2018-01-22 19:38:34 -0600
committercwm <chriswmartin@protonmail.com>2018-01-22 19:38:34 -0600
commit939075899e7197e0e60c9db2f4ac0679593f278e (patch)
tree65a60d955db61e3fc64a54b7ddb417a67b42fe34 /app/javascript/flavours
parent00be9eb3fe57348463eddad76efe27c7d0d5bf86 (diff)
remove unused openOnboardingModal from getting_started
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r--app/javascript/flavours/glitch/features/getting_started/index.js10
1 files changed, 1 insertions, 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 1ae596e4a..874f11bc8 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(<ColumnLink key='5' icon='users' text={intl.formatMessage(messages.follow_requests)} badge={badgeDisplay(unreadFollowRequests, 40)} to='/follow_requests' />); 
+      navItems.push(<ColumnLink key='5' icon='users' text={intl.formatMessage(messages.follow_requests)} badge={badgeDisplay(unreadFollowRequests, 40)} to='/follow_requests' />);
     }
 
     navItems.push(<ColumnLink key='6' icon='ellipsis-h' text={intl.formatMessage(messages.misc)} to='/getting-started-misc' />);