Commit 234e931d authored by Wonderfall's avatar Wonderfall Committed by Eugen Rochko
Browse files

fix onboarding modal (#2477)

parent fdcb55a0
...@@ -123,7 +123,7 @@ PageFour.propTypes = { ...@@ -123,7 +123,7 @@ PageFour.propTypes = {
intl: PropTypes.object.isRequired intl: PropTypes.object.isRequired
}; };
const PageSix = ({ admin }) => { const PageSix = ({ admin, domain }) => {
let adminSection = ''; let adminSection = '';
if (admin) { if (admin) {
...@@ -148,7 +148,8 @@ const PageSix = ({ admin }) => { ...@@ -148,7 +148,8 @@ const PageSix = ({ admin }) => {
}; };
PageSix.propTypes = { PageSix.propTypes = {
admin: ImmutablePropTypes.map admin: ImmutablePropTypes.map,
domain: PropTypes.string.isRequired
}; };
const mapStateToProps = state => ({ const mapStateToProps = state => ({
...@@ -197,7 +198,7 @@ class OnboardingModal extends React.PureComponent { ...@@ -197,7 +198,7 @@ class OnboardingModal extends React.PureComponent {
<PageTwo />, <PageTwo />,
<PageThree me={me} domain={domain} />, <PageThree me={me} domain={domain} />,
<PageFour domain={domain} intl={intl} />, <PageFour domain={domain} intl={intl} />,
<PageSix admin={admin} /> <PageSix admin={admin} domain={domain} />
]; ];
const { currentIndex } = this.state; const { currentIndex } = this.state;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment