Skip to content

Commit

Permalink
Update plugins/dualGovernance/hooks/useCanCreateProposal.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Jør∂¡ <[email protected]>
  • Loading branch information
xavikh and brickpop authored Apr 10, 2024
1 parent 504621d commit ce5a13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/dualGovernance/hooks/useCanCreateProposal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function useCanCreateProposal() {
abi: DaoAbi,
functionName: "hasPermission",
// where, who, permissionId, data
args: [PUB_DUAL_GOVERNANCE_PLUGIN_ADDRESS, address!, keccak256(toHex("PROPOSER_PERMISSION")), "0x"],
args: [PUB_DUAL_GOVERNANCE_PLUGIN_ADDRESS, address ?? ADDRESS_ZERO, keccak256(toHex("PROPOSER_PERMISSION")), "0x"],
query: {
enabled: !!daoAddress && !!address,
},
Expand Down

0 comments on commit ce5a13f

Please sign in to comment.