From 02b75d1aabcd1f61cd9d40c34b541b50c7e51c10 Mon Sep 17 00:00:00 2001 From: noah Date: Tue, 12 Dec 2023 14:32:44 -0800 Subject: [PATCH] Fixed missing v2 voting config action. (#1514) --- .../common/actions/UpdateProposalConfigV2/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/stateful/proposal-module-adapter/adapters/DaoProposalSingle/common/actions/UpdateProposalConfigV2/index.tsx b/packages/stateful/proposal-module-adapter/adapters/DaoProposalSingle/common/actions/UpdateProposalConfigV2/index.tsx index 68a68d1603..e9003a9f55 100644 --- a/packages/stateful/proposal-module-adapter/adapters/DaoProposalSingle/common/actions/UpdateProposalConfigV2/index.tsx +++ b/packages/stateful/proposal-module-adapter/adapters/DaoProposalSingle/common/actions/UpdateProposalConfigV2/index.tsx @@ -130,7 +130,7 @@ export const makeUpdateProposalConfigV2ActionMaker = address: proposalModuleAddress, }: ProposalModule): ActionMaker => ({ t, context, chain: { chain_id: chainId } }) => { - if (!version || versionGte(version, ContractVersion.V2Alpha)) { + if (!version || !versionGte(version, ContractVersion.V2Alpha)) { return null }