mirror of
https://github.com/langgenius/dify.git
synced 2026-03-10 03:00:20 +08:00
fix: update key prop in UserActionItem to use index for consistent rendering
This commit is contained in:
parent
9aa674a04f
commit
bcd6e22735
@ -185,7 +185,7 @@ const Panel: FC<NodePanelProps<HumanInputNodeType>> = ({
|
||||
<div className="space-y-2">
|
||||
{inputs.user_actions.map((action, index) => (
|
||||
<UserActionItem
|
||||
key={action.id}
|
||||
key={index}
|
||||
data={action}
|
||||
onChange={data => handleUserActionChange(index, data)}
|
||||
onDelete={handleUserActionDelete}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user