fix: classify remove always remove the last one (#18959)
This commit is contained in:
parent
2c2af1d117
commit
315436e43b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue