Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add key for next action #3956

Merged
merged 2 commits into from
Jul 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ export const SelectNextAction = ({ item, lang }: { item: FormElement | null; lan
<SectionName lang={lang} sectionName={sectionName} />
</div>
<div className="p-4">
<SingleActionSelect nextAction={selectedGroupNextActions || "end"} />
<SingleActionSelect
key={`single-action-select-${selectedGroupId}`}
nextAction={selectedGroupNextActions || "end"}
/>
</div>
</div>
);
Expand Down Expand Up @@ -72,6 +75,7 @@ export const SelectNextAction = ({ item, lang }: { item: FormElement | null; lan
no - => section 2
*/
<MultiActionSelector
key={`multi-action-select-${selectedGroupId}`}
lang={lang}
sectionName={sectionName}
item={item}
Expand Down
Loading