Closed RavdeepSingh99 closed 3 years ago
This commit is the fix for https://github.com/cedricdelpoux/react-responsive-masonry/issues/42 issue.
In this, we simply ignore falsy children to get added in the columns array so that this doesn't break the UI.
falsy
columns
@RavdeepSingh99 Thank you for this PR and sorry for the delay. I just want you clarify why the first condition. Thank you
This commit is the fix for https://github.com/cedricdelpoux/react-responsive-masonry/issues/42 issue.
In this, we simply ignore
falsy
children to get added in thecolumns
array so that this doesn't break the UI.