Skip to content

Commit

Permalink
fix: Don't use space level voting.quorum (#4309)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR authored Oct 26, 2023
1 parent c85de4b commit 33ae2f6
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

1 comment on commit 33ae2f6

@vercel
Copy link

@vercel vercel bot commented on 33ae2f6 Oct 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.