diff --git a/src/routes/safe/components/Settings/Advanced/dataFetcher.ts b/src/routes/safe/components/Settings/Advanced/dataFetcher.ts index a62f6d6f..08483f68 100644 --- a/src/routes/safe/components/Settings/Advanced/dataFetcher.ts +++ b/src/routes/safe/components/Settings/Advanced/dataFetcher.ts @@ -6,7 +6,7 @@ export const MODULES_TABLE_ADDRESS_ID = 'address' export const MODULES_TABLE_ACTIONS_ID = 'actions' export const getModuleData = (modulesList: List): List<{ [MODULES_TABLE_ADDRESS_ID]: ModulePair }> => { - return modulesList.map((modules) => ({ + return modulesList?.map((modules) => ({ [MODULES_TABLE_ADDRESS_ID]: modules, })) }