Skip to content

Commit

Permalink
Merge branch 'breakout-issue/typing-dao-info' of github.com:decentdao…
Browse files Browse the repository at this point in the history
…/decent-interface into issue/2530-hierarchy-voting-schema-display
  • Loading branch information
Da-Colon committed Nov 28, 2024
2 parents 21f4de6 + 77881bf commit 782c53b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/DAO/proposal/useSubmitProposal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ export default function useSubmitProposal() {
// Submitting proposal to any DAO out of global context
const votingStrategies = await getVotingStrategies(safeAddress);
const safeInfo = await safeAPI.getSafeInfo(safeAddress);
const modules = await lookupModules(safeInfo.modules);
const azoriusModule = getAzoriusModuleFromModules(modules);
const decentModules = await lookupModules(safeInfo.modules);
const azoriusModule = getAzoriusModuleFromModules(decentModules);
if (!azoriusModule || !votingStrategies) {
await submitMultisigProposal({
proposalData,
Expand Down

0 comments on commit 782c53b

Please sign in to comment.