We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bdb940 commit 1b337aaCopy full SHA for 1b337aa
src/utils/subgraphQuery.ts
@@ -29,6 +29,9 @@ export const getValidContact = async (
29
graphQLClient: GraphQLClient,
30
contacts: Contact[]
31
): Promise<Contact[]> => {
32
+ if (contacts.length === 0) {
33
+ return [];
34
+ }
35
try {
36
// Contacts addresses
37
const contactsAddresses = contacts.map((contact) => contact.address);
0 commit comments