Commit 2451a5c9 authored by Charles Bachmeier's avatar Charles Bachmeier Committed by GitHub

chore: Remove limit from topCollections query (#6104)

the limit does not exist
Co-authored-by: default avatarCharles Bachmeier <charlie@genie.xyz>
parent d62dd585
......@@ -2199,7 +2199,7 @@ export type NftRouteLazyQueryHookResult = ReturnType<typeof useNftRouteLazyQuery
export type NftRouteQueryResult = Apollo.QueryResult<NftRouteQuery, NftRouteQueryVariables>;
export const TrendingCollectionsDocument = gql`
query TrendingCollections($size: Int, $timePeriod: HistoryDuration) {
topCollections(limit: $size, duration: $timePeriod) {
topCollections(first: $size, duration: $timePeriod) {
edges {
node {
name
......
......@@ -7,7 +7,7 @@ import { HistoryDuration, useTrendingCollectionsQuery } from '../__generated__/t
gql`
query TrendingCollections($size: Int, $timePeriod: HistoryDuration) {
topCollections(limit: $size, duration: $timePeriod) {
topCollections(first: $size, duration: $timePeriod) {
edges {
node {
name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment