From b1d93d683dec2537fd7ab7c9758d65b97a9e8cd0 Mon Sep 17 00:00:00 2001 From: Jack Ellis Date: Fri, 12 Jul 2024 21:04:39 +0100 Subject: [PATCH] refactor(@nftx/core): update to latest types --- .../core/src/assets/fetchUserHoldings/fetchNonstandards.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/core/src/assets/fetchUserHoldings/fetchNonstandards.ts b/packages/core/src/assets/fetchUserHoldings/fetchNonstandards.ts index 9273e5a..c859ab6 100644 --- a/packages/core/src/assets/fetchUserHoldings/fetchNonstandards.ts +++ b/packages/core/src/assets/fetchUserHoldings/fetchNonstandards.ts @@ -15,7 +15,6 @@ type Response = { }>; }; }; -type Params = { userAddress: Address; lastId: string }; export const makeFetchNonStandards = ({ querySubgraph }: { querySubgraph: QuerySubgraph }) => @@ -44,7 +43,7 @@ export const makeFetchNonStandards = return { holdings: [], cursor: createCursor('nonstandard', undefined) }; } - const query = gql` + const query = gql` { account(id: $userAddress) { id @@ -61,7 +60,7 @@ export const makeFetchNonStandards = } `; - const data = await querySubgraph({ + const data = await querySubgraph({ url, query, variables: { lastId, userAddress },