We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fad8236 commit 631e2d0Copy full SHA for 631e2d0
src/react-sortable.tsx
@@ -110,7 +110,7 @@ Please read the updated README.md at https://github.com/SortableJS/react-sortabl
110
const dataid = dataIdAttr || "data-id";
111
/* eslint-disable-next-line */
112
return Children.map(children as ReactElement<any>[], (child, index) => {
113
- if (!child) return undefined
+ if (child===undefined) return undefined
114
115
const item = list[index] || {};
116
const { className: prevClassName } = child.props;
0 commit comments