From 01298061592bb684f33b77899e60c149d398fe22 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 17 Jan 2022 17:06:46 +0000 Subject: [PATCH] pregenerate warning fix --- src/components/Asset/AssetActions/Pool/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Asset/AssetActions/Pool/index.tsx b/src/components/Asset/AssetActions/Pool/index.tsx index c22441949..e6fc0899a 100644 --- a/src/components/Asset/AssetActions/Pool/index.tsx +++ b/src/components/Asset/AssetActions/Pool/index.tsx @@ -25,7 +25,7 @@ import content from '../../../../../content/price.json' Decimal.set({ toExpNeg: -18, precision: 18, rounding: 1 }) const poolLiquidityQuery = gql` - query PoolLiquidity($pool: ID!, $owner: ID) { + query PoolLiquidity($pool: ID!, $owner: String) { pool(id: $pool) { id totalShares @@ -53,7 +53,7 @@ const poolLiquidityQuery = gql` ` const userPoolShareQuery = gql` - query PoolShare($pool: ID!, $user: ID) { + query PoolShare($pool: ID!, $user: String) { pool(id: $pool) { id shares(where: { user: $user }) {