mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-03 08:28:35 +02:00
🐛 Keep selected participant id after update (#1171)
This commit is contained in:
parent
3758daf301
commit
5081af464c
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ export const VotingForm = ({ children }: React.PropsWithChildren) => {
|
|||
|
||||
form.reset({
|
||||
mode: "view",
|
||||
participantId: undefined,
|
||||
participantId: data.participantId,
|
||||
votes: options.map((option) => ({
|
||||
optionId: option.id,
|
||||
})),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue