fix: classify remove always remove the last one (#18959)

pull/19163/head
Joel 9 months ago committed by GitHub
parent 2c2af1d117
commit 315436e43b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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