Skip to content

Commit 8814c37

Browse files
committed
Removed unusable key
1 parent bd6653e commit 8814c37

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/HeaderCellContainer.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from 'react';
22
import { SortableElement, SortableHandle } from 'react-sortable-hoc';
33

4-
const SortableItem = SortableElement(({children, index, columnId, className}) => (
5-
<div className={className} data-column-id={columnId} key={index}>{children}</div>
4+
const SortableItem = SortableElement(({children, columnId, className}) => (
5+
<div className={className} data-column-id={columnId}>{children}</div>
66
));
77

88
const SortableDragHandle = SortableHandle(({children, index}) => (

0 commit comments

Comments
 (0)