Skip to content

Commit

Permalink
fix: Don't use space level voting.quorum
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR committed Oct 25, 2023
1 parent c85de4b commit f6c96fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/composables/useQuorum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ export function useQuorum(props: QuorumProps) {
});

async function getQuorum(web3: any, quorumOptions: any, snapshot: string) {
if (props.proposal?.quorum || props.space.voting?.quorum) {
return props.proposal?.quorum || props.space.voting?.quorum;
if (props.proposal?.quorum) {
return props.proposal?.quorum;
}

if (!quorumOptions) return 0;
Expand Down

0 comments on commit f6c96fd

Please sign in to comment.