Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
0xShuk committed Nov 29, 2024
1 parent 1730089 commit 38f12aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hub/components/NewWallet/useGovernanceDefaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const configs2defaults = (configs: GovernanceConfig[]) => {

const x: Omit<Rules, 'governanceAddress' | 'walletAddress'> = {
communityTokenRules: {
tokenMintAddress: PublicKey.default,
canCreateProposal:
enableCommunityVote &&
!highestMinCommunityTokensToCreateProposal.eq(DISABLED_VOTER_WEIGHT),
Expand All @@ -59,6 +60,7 @@ const configs2defaults = (configs: GovernanceConfig[]) => {
voteTipping: GovernanceVoteTipping.Disabled,
},
councilTokenRules: {
tokenMintAddress: PublicKey.default,
canCreateProposal:
enableCouncilVote &&
!highestMinCouncilTokensToCreateProposal.eq(DISABLED_VOTER_WEIGHT),
Expand Down

0 comments on commit 38f12aa

Please sign in to comment.