Skip to content

Commit

Permalink
Fix loading ERC-721 DAO
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrila committed May 3, 2024
1 parent 9c2a67f commit f733362
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hooks/DAO/loaders/useGovernanceContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ export const useGovernanceContracts = () => {
erc721LinearVotingContractAddress = votingStrategyAddress;
}

if (!!votesTokenContractAddress) {
if (votesTokenContractAddress || erc721LinearVotingContractAddress) {
action.dispatch({
type: GovernanceContractAction.SET_GOVERNANCE_CONTRACT,
payload: {
ozLinearVotingContractAddress: ozLinearVotingContractAddress,
erc721LinearVotingContractAddress: erc721LinearVotingContractAddress,
ozLinearVotingContractAddress,
erc721LinearVotingContractAddress,
azoriusContractAddress: azoriusModuleContract.address,
votesTokenContractAddress,
underlyingTokenAddress,
Expand Down

0 comments on commit f733362

Please sign in to comment.