diff --git a/src/hooks/DAO/loaders/useFractalModules.ts b/src/hooks/DAO/loaders/useFractalModules.ts index 3059db4ae2..c7153884a1 100644 --- a/src/hooks/DAO/loaders/useFractalModules.ts +++ b/src/hooks/DAO/loaders/useFractalModules.ts @@ -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, };