Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const isChildMarker = marker =>
startsWith([index], marker.path) || startsWith([{_key: item && item._key}], marker.path)
const itemProps = isSortable ? {index} : {}
const filteredMarkers = markers.filter(marker => startsWith([index], marker.path))
return (