Skip to content

Commit

Permalink
fix: do not show not allowed before register (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlc03 authored Aug 30, 2024
1 parent 312d286 commit 38f6ad7
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/interface/src/components/EligibilityDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,18 +115,6 @@ export const EligibilityDialog = (): JSX.Element | null => {
);
}

if (appState === EAppState.VOTING && !isEligibleToVote) {
return (
<Dialog
description="To participate in this round, you must be in the voter's registry. Contact the round organizers to get access as a voter."
isOpen={openDialog}
size="sm"
title="Sorry, this account does not have the credentials to be verified."
onOpenChange={handleCloseDialog}
/>
);
}

if (appState === EAppState.TALLYING) {
return (
<Dialog
Expand Down

0 comments on commit 38f6ad7

Please sign in to comment.