mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 03:43:42 +01:00
fix onboarding modal (#2477)
This commit is contained in:
parent
fdcb55a0a6
commit
234e931db2
1 changed files with 4 additions and 3 deletions
|
@ -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 {
|
|||
<PageTwo />,
|
||||
<PageThree me={me} domain={domain} />,
|
||||
<PageFour domain={domain} intl={intl} />,
|
||||
<PageSix admin={admin} />
|
||||
<PageSix admin={admin} domain={domain} />
|
||||
];
|
||||
|
||||
const { currentIndex } = this.state;
|
||||
|
|
Loading…
Reference in a new issue