From 234e931db28ce6a8f147bab5e1a05da9f8e68742 Mon Sep 17 00:00:00 2001 From: Wonderfall Date: Wed, 26 Apr 2017 14:54:12 +0200 Subject: fix onboarding modal (#2477) --- .../components/features/ui/components/onboarding_modal.jsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'app/assets/javascripts/components') diff --git a/app/assets/javascripts/components/features/ui/components/onboarding_modal.jsx b/app/assets/javascripts/components/features/ui/components/onboarding_modal.jsx index e39eaf8de..27becc6de 100644 --- a/app/assets/javascripts/components/features/ui/components/onboarding_modal.jsx +++ b/app/assets/javascripts/components/features/ui/components/onboarding_modal.jsx @@ -123,7 +123,7 @@ PageFour.propTypes = { intl: PropTypes.object.isRequired }; -const PageSix = ({ admin }) => { +const PageSix = ({ admin, domain }) => { let adminSection = ''; if (admin) { @@ -148,7 +148,8 @@ const PageSix = ({ admin }) => { }; PageSix.propTypes = { - admin: ImmutablePropTypes.map + admin: ImmutablePropTypes.map, + domain: PropTypes.string.isRequired }; const mapStateToProps = state => ({ @@ -197,7 +198,7 @@ class OnboardingModal extends React.PureComponent { , , , - + ]; const { currentIndex } = this.state; -- cgit