Remove finalize vote (#80)

This commit is contained in:
Szymon Szlachtowicz 2021-09-21 11:24:12 +02:00 committed by GitHub
parent 1374663cac
commit 6d28e1fae9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ export function Proposal({ wakuVoting, account }: ProposalProps) {
)} )}
</ProposalVotesWrapper> </ProposalVotesWrapper>
<NotificationItem text={'Proposal you finalized will be settled after 10 confirmations.'} address={'#'} /> {/* <NotificationItem text={'Proposal you finalized will be settled after 10 confirmations.'} address={'#'} /> */}
</ProposalWrapper> </ProposalWrapper>
) )
} }

View File

@ -76,7 +76,7 @@ export function ProposalVote({ votingRoom, theme, availableAmount, hideModalFunc
<CardButtons> <CardButtons>
{votingRoom.voteWinner ? ( {votingRoom.voteWinner ? (
<FinalBtn disabled={!account}>Finalize the vote</FinalBtn> <></>
) : ( ) : (
<VotesBtns> <VotesBtns>
<VoteBtnAgainst <VoteBtnAgainst

View File

@ -44,7 +44,7 @@ export function ProposalVoteMobile({ wakuVoting, availableAmount }: ProposalVote
<CardButtons> <CardButtons>
{voteWinner ? ( {voteWinner ? (
<FinalBtn disabled={!account}>Finalize the vote</FinalBtn> <></>
) : ( ) : (
<VotesBtns> <VotesBtns>
<VoteBtnAgainst <VoteBtnAgainst