diff --git a/src/components/pages/Home.tsx b/src/components/pages/Home.tsx index dc801e637..f3a61d35f 100644 --- a/src/components/pages/Home.tsx +++ b/src/components/pages/Home.tsx @@ -111,7 +111,7 @@ export default function HomePage(): ReactElement { offset: 15, query: { query_string: { - query: `(${results}) AND -isInPurgatory:true AND price.isConsumable:true`, + query: `(${results}) AND -isInPurgatory:true`, fields: ['dataToken'] } } diff --git a/src/utils/subgraph.ts b/src/utils/subgraph.ts index d48f3336e..76cc04b86 100644 --- a/src/utils/subgraph.ts +++ b/src/utils/subgraph.ts @@ -88,13 +88,13 @@ const PreviousOrderQuery = gql` ` const HighestLiquidityAssets = gql` query HighestLiquidiyAssets { - pools(orderBy: valueLocked, orderDirection: desc, first: 15) { + pools( + where: { datatokenReserve_gte: 1 } + orderBy: valueLocked + orderDirection: desc + first: 15 + ) { id - consumePrice - spotPrice - tx - symbol - name datatokenAddress valueLocked }