From 6a1e2870537dffe4ffab7fc6c7e0508b28b78686 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Wed, 26 Apr 2017 22:15:47 +0900 Subject: [PATCH] Fix undefined variable in OnboardingModal (#2482) --- .../features/ui/components/onboarding_modal.jsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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 27becc6de..78ab646ee 100644 --- a/app/assets/javascripts/components/features/ui/components/onboarding_modal.jsx +++ b/app/assets/javascripts/components/features/ui/components/onboarding_modal.jsx @@ -36,12 +36,12 @@ PageOne.propTypes = { domain: PropTypes.string.isRequired }; -const PageTwo = () => ( +const PageTwo = ({ me }) => (
-
+
-
+
(
); +PageTwo.propTypes = { + me: ImmutablePropTypes.map.isRequired, +}; + const PageThree = ({ me, domain }) => (
@@ -195,7 +199,7 @@ class OnboardingModal extends React.PureComponent { const pages = [ , - , + , , ,