fix: liquidity provisions view not working after API update (#1410)
* chore: ignore apollo errors - to be reverted after API will be fixed * fix: partyID should not be enforced in market liquidity query * Update apps/trading/components/page-query-container/page-query-container.tsx * Update libs/react-helpers/src/lib/generic-data-provider.ts * fix: remove partyId from the query to avoid any confusion Co-authored-by: Bartłomiej Głownia <bglownia@gmail.com>
This commit is contained in:
parent
efc1d909b3
commit
c59aa19bd2
@ -1,9 +1,9 @@
|
||||
query MarketLiquidity($marketId: ID!, $partyId: ID!) {
|
||||
query MarketLiquidity($marketId: ID!) {
|
||||
market(id: $marketId) {
|
||||
id
|
||||
decimalPlaces
|
||||
positionDecimalPlaces
|
||||
liquidityProvisionsConnection(partyId: $partyId) {
|
||||
liquidityProvisionsConnection {
|
||||
edges {
|
||||
node {
|
||||
id
|
||||
|
@ -11,12 +11,12 @@ import type {
|
||||
const SISKA_NETWORK_PARAMETER = 'market.liquidity.stakeToCcySiskas';
|
||||
|
||||
const MARKET_LIQUIDITY_QUERY = gql`
|
||||
query MarketLiquidity($marketId: ID!, $partyId: ID!) {
|
||||
query MarketLiquidity($marketId: ID!) {
|
||||
market(id: $marketId) {
|
||||
id
|
||||
decimalPlaces
|
||||
positionDecimalPlaces
|
||||
liquidityProvisionsConnection(partyId: $partyId) {
|
||||
liquidityProvisionsConnection {
|
||||
edges {
|
||||
node {
|
||||
id
|
||||
|
Loading…
Reference in New Issue
Block a user