Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🐛 Prevent form submission when poll is locked
Luke Vellae96c31b9c94b
diff --git a/src/components/poll/desktop-poll.tsx b/src/components/poll/desktop-poll.tsxindex 3c5092662..a8a8a006f 100644--- a/src/components/poll/desktop-poll.tsx+++ b/src/components/poll/desktop-poll.tsx@@ -246,7 +246,8 @@ const Poll: React.VoidFunctionComponent = () => {})}</div><AnimatePresence initial={false}>- {shouldShowNewParticipantForm || editingParticipantId ? (+ {!poll.closed &&+ (shouldShowNewParticipantForm || editingParticipantId) ? (<m.divvariants={{hidden: { height: 0, y: 30, opacity: 0 },