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

TypeError: Cannot read property 'type' of undefined #6

Closed
neuneed opened this issue Dec 28, 2018 · 1 comment
Closed

TypeError: Cannot read property 'type' of undefined #6

neuneed opened this issue Dec 28, 2018 · 1 comment

Comments

@neuneed
Copy link

neuneed commented Dec 28, 2018

Hi there, I am try to adding to project. But always get error screen. In applyPropsToParallaxImages function, children is always equal to undefined, so let the code can not find children.type.
So I add the code if if (!children) { return children; }, the parallax won't work.
May I ask how to fix it?

@neuneed neuneed closed this as completed Jan 3, 2019
@neuneed
Copy link
Author

neuneed commented Jan 3, 2019

closed

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

No branches or pull requests

1 participant