Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
Prevent users from resetting more than once
Luke Vellab2d20a5fd2c5
diff --git a/components/poll/manage-poll.tsx b/components/poll/manage-poll.tsxindex 8f303cafe..642a2a415 100644--- a/components/poll/manage-poll.tsx+++ b/components/poll/manage-poll.tsx@@ -244,7 +244,7 @@ const ManagePoll: React.VoidFunctionComponent<{onClick={() => updatePollMutation({ closed: true })}/>)}- {poll.legacy ? (+ {poll.legacy && poll.options[0].value.indexOf("T") === -1 ? (<DropdownItemicon={Refresh}label="Reset poll"