Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🐛 Keep selected participant id after update (#1171)
Luke Vella5081af464c3a
diff --git a/apps/web/src/components/poll/voting-form.tsx b/apps/web/src/components/poll/voting-form.tsxindex ee8402846..6e22e8969 100644--- a/apps/web/src/components/poll/voting-form.tsx+++ b/apps/web/src/components/poll/voting-form.tsx@@ -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,})),