Skip to content

Commit

Permalink
fix: action key repeat
Browse files Browse the repository at this point in the history
  • Loading branch information
Licoy committed Oct 18, 2023
1 parent b2c49b8 commit 1be1946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1296,7 +1296,7 @@ function _Chat() {
{message.attr?.options.map((item: any) => (
<ChatAction
style={{marginBottom: "6px"}}
key={i}
key={message.attr.taskId+item.custom}
text={item.label}
onClick={() =>
doSubmit(
Expand Down

0 comments on commit 1be1946

Please sign in to comment.