Skip to content

Commit

Permalink
fix dao list count 0 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
RakeshUP committed Jan 31, 2024
1 parent 9e219f5 commit 2e8a0e9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/containers/daoExplorer/daoExplorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,14 @@ export const DaoExplorer = () => {
pluginNames: filters.pluginNames,
}),
...(filters.networks?.length !== 0 && {
networks: filters.networks,
networks: filters.networks?.map(network => {
if (network === 'arbitrum-goerli') {
return 'arbitrumGoerli';
} else if (network === 'base-goerli') {
return 'baseGoerli';
}
return network;
}),
}),
...(filters.quickFilter === 'memberOf' && address
? {memberAddress: address}
Expand Down
2 changes: 1 addition & 1 deletion src/services/aragon-backend/aragon-backend-service.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ export interface IFetchDaosParams
extends IOrderedRequest<OrderByValue>,
IPaginatedRequest {
pluginNames?: string[];
networks?: SupportedNetworks[];
networks?: Array<SupportedNetworks | 'arbitrumGoerli' | 'baseGoerli'>;
}

0 comments on commit 2e8a0e9

Please sign in to comment.