You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Hi there, I am try to adding to project. But always get error screen. In
applyPropsToParallaxImages
function,children
is always equal toundefined
, so let the code can not findchildren.type
.So I add the code if
if (!children) { return children; }
, the parallax won't work.May I ask how to fix it?
The text was updated successfully, but these errors were encountered: