Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure if there is only one child of the stepwizard #65

Closed
BFUculsion opened this issue May 8, 2020 · 2 comments · Fixed by #76
Closed

Failure if there is only one child of the stepwizard #65

BFUculsion opened this issue May 8, 2020 · 2 comments · Fixed by #76

Comments

@BFUculsion
Copy link

If you have only one child component in the step wizard, you get this error
×
TypeError: o.props.children.filter is not a function
a.getSteps
node_modules/react-step-wizard/dist/react-step-wizard.min.js:1

@nmoinvaz
Copy link

I had this same error and it took me quite some time to figure out what was happening. For some reason I thought it was missing Array.filter polyfill.

https://stackoverflow.com/questions/32672966/react-props-children-is-not-array

@nmoinvaz
Copy link

Duplicates #63.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants