fix: classify remove always remove the last one

pull/18959/head
Joel 1 year ago
parent 03ac2d0f17
commit 7f559f7ddb

@ -63,7 +63,7 @@ const ClassList: FC<Props> = ({
return (
<Item
nodeId={nodeId}
key={index}
key={list[index].id}
payload={item}
onChange={handleClassChange(index)}
onRemove={handleRemoveClass(index)}

Loading…
Cancel
Save