mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
pregenerate warning fix
This commit is contained in:
parent
3224e1cf9d
commit
0129806159
@ -25,7 +25,7 @@ import content from '../../../../../content/price.json'
|
|||||||
Decimal.set({ toExpNeg: -18, precision: 18, rounding: 1 })
|
Decimal.set({ toExpNeg: -18, precision: 18, rounding: 1 })
|
||||||
|
|
||||||
const poolLiquidityQuery = gql`
|
const poolLiquidityQuery = gql`
|
||||||
query PoolLiquidity($pool: ID!, $owner: ID) {
|
query PoolLiquidity($pool: ID!, $owner: String) {
|
||||||
pool(id: $pool) {
|
pool(id: $pool) {
|
||||||
id
|
id
|
||||||
totalShares
|
totalShares
|
||||||
@ -53,7 +53,7 @@ const poolLiquidityQuery = gql`
|
|||||||
`
|
`
|
||||||
|
|
||||||
const userPoolShareQuery = gql`
|
const userPoolShareQuery = gql`
|
||||||
query PoolShare($pool: ID!, $user: ID) {
|
query PoolShare($pool: ID!, $user: String) {
|
||||||
pool(id: $pool) {
|
pool(id: $pool) {
|
||||||
id
|
id
|
||||||
shares(where: { user: $user }) {
|
shares(where: { user: $user }) {
|
||||||
|
Loading…
Reference in New Issue
Block a user