Skip to content

Commit

Permalink
Removes unecessary warning case
Browse files Browse the repository at this point in the history
  • Loading branch information
emmdim committed Apr 30, 2024
1 parent 56b5873 commit d4978d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/containers/votingTerminal/gaslessVotingTerminal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ export const GaslessVotingTerminal: React.FC<GaslessVotingTerminalProps> = ({
isApprovalPeriod && // active proposal
address && // logged in
!isOnWrongNetwork && // on proper network
!canApprove; // cannot approve
!canApprove && // cannot approve
!isUserApproved && // user has not approved
!isProposalApproved; // proposal has not been approved

const alertMessage = displayAlertMessage
? t('votingTerminal.status.ineligibleWhitelist')
Expand Down

0 comments on commit d4978d3

Please sign in to comment.