Skip to content
Snippets Groups Projects
Commit 6a1e2870 authored by Yamagishi Kazutoshi's avatar Yamagishi Kazutoshi Committed by Eugen Rochko
Browse files

Fix undefined variable in OnboardingModal (#2482)

parent 5bda32e4
No related branches found
No related tags found
No related merge requests found
......@@ -36,12 +36,12 @@ PageOne.propTypes = {
domain: PropTypes.string.isRequired
};
const PageTwo = () => (
const PageTwo = ({ me }) => (
<div className='onboarding-modal__page onboarding-modal__page-two'>
<div className='figure non-interactive'>
<div className='pseudo-drawer'>
<div className='pseudo-drawer'>
<NavigationBar account={me} />
</div>
</div>
<ComposeForm
text='Awoo! #introductions'
suggestions={Immutable.List()}
......@@ -62,6 +62,10 @@ const PageTwo = () => (
</div>
);
PageTwo.propTypes = {
me: ImmutablePropTypes.map.isRequired,
};
const PageThree = ({ me, domain }) => (
<div className='onboarding-modal__page onboarding-modal__page-three'>
<div className='figure non-interactive'>
......@@ -195,7 +199,7 @@ class OnboardingModal extends React.PureComponent {
const pages = [
<PageOne acct={me.get('acct')} domain={domain} />,
<PageTwo />,
<PageTwo me={me} />,
<PageThree me={me} domain={domain} />,
<PageFour domain={domain} intl={intl} />,
<PageSix admin={admin} domain={domain} />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment