Skip to content

Commit

Permalink
Fix proposal creation
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrila committed Feb 12, 2024
1 parent c159034 commit 61e77ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/hooks/DAO/loaders/useFractalModules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ export const useFractalModules = () => {

if (
utils.getAddress(masterCopyAddress) ===
fractalAzoriusMasterCopyContract.asProvider.address
fractalAzoriusMasterCopyContract.asSigner.address
) {
safeModule = {
moduleContract: fractalAzoriusMasterCopyContract.asProvider.attach(moduleAddress),
moduleContract: fractalAzoriusMasterCopyContract.asSigner.attach(moduleAddress),
moduleAddress: moduleAddress,
moduleType: FractalModuleType.AZORIUS,
};
} else if (masterCopyAddress === fractalModuleMasterCopyContract.asProvider.address) {
} else if (masterCopyAddress === fractalModuleMasterCopyContract.asSigner.address) {
safeModule = {
moduleContract: fractalModuleMasterCopyContract.asProvider.attach(moduleAddress),
moduleContract: fractalModuleMasterCopyContract.asSigner.attach(moduleAddress),
moduleAddress: moduleAddress,
moduleType: FractalModuleType.FRACTAL,
};
Expand Down

0 comments on commit 61e77ef

Please sign in to comment.