diff --git a/src/components/layers/LayerListItem.jsx b/src/components/layers/LayerListItem.jsx index 91fb044..0e9a238 100644 --- a/src/components/layers/LayerListItem.jsx +++ b/src/components/layers/LayerListItem.jsx @@ -7,23 +7,16 @@ import {MdContentCopy, MdVisibility, MdVisibilityOff, MdDelete} from 'react-icon import LayerIcon from '../icons/LayerIcon' import {SortableElement, SortableHandle} from 'react-sortable-hoc' -class LayerTypeDragHandle extends React.Component { - static propTypes = LayerIcon.propTypes - render() { - return { + return
+ - } -} - -const LayerTypeDragHandleSortable = SortableHandle((props) => ) + {props.layerId} +
+}); class IconAction extends React.Component { static propTypes = { @@ -111,8 +104,7 @@ class LayerListItem extends React.Component { "maputnik-layer-list-item-selected": this.props.isSelected, [this.props.className]: true, })}> - - {this.props.layerId} +