diff --git a/src/components/OwnedProjects.tsx b/src/components/OwnedProjects.tsx index f8d1ec8..451abc8 100644 --- a/src/components/OwnedProjects.tsx +++ b/src/components/OwnedProjects.tsx @@ -38,7 +38,7 @@ const OwnedProjects = ({ walletAddress }: Props) => { setCountOwnedProjects(countOwnedProjectsResponse.data?.projects?.filter((project: { tokens: string | any[] }) => { return project.tokens.length > 0 }).length) - }, [data, countOwnedProjectsResponse]) + }, [JSON.stringify(data), JSON.stringify(filteredProjects), JSON.stringify(countOwnedProjectsResponse)]) return ( diff --git a/src/hooks/useOwnedProjects.tsx b/src/hooks/useOwnedProjects.tsx index cafc637..26c5649 100644 --- a/src/hooks/useOwnedProjects.tsx +++ b/src/hooks/useOwnedProjects.tsx @@ -56,12 +56,9 @@ const ownedProjectsQuery = (walletAddress: string, { first, skip, orderDirection } minterConfiguration { basePrice - startPrice priceIsConfigured currencySymbol currencyAddress - startTime - endTime } } }`