From ca64516a5223c3d1f0d4ababc98600ff14f185a5 Mon Sep 17 00:00:00 2001 From: "m.ray" <16125548+MadalinaRaicu@users.noreply.github.com> Date: Fri, 23 Feb 2024 19:08:22 +0200 Subject: [PATCH] fix(trading): lp data provider reload - updating book (#5846) --- .../components/liquidity-container/liquidity-container.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/trading/components/liquidity-container/liquidity-container.tsx b/apps/trading/components/liquidity-container/liquidity-container.tsx index 7ddea435b..2ac8e95d1 100644 --- a/apps/trading/components/liquidity-container/liquidity-container.tsx +++ b/apps/trading/components/liquidity-container/liquidity-container.tsx @@ -4,7 +4,6 @@ import { lpAggregatedDataProvider, type Filter, LiquidityTable, - liquidityProvisionsDataProvider, } from '@vegaprotocol/liquidity'; import { getAsset, useMarket } from '@vegaprotocol/markets'; import { @@ -71,7 +70,7 @@ export const LiquidityContainer = ({ const useReloadLiquidityData = (marketId: string | undefined) => { const { reload } = useDataProvider({ - dataProvider: liquidityProvisionsDataProvider, + dataProvider: lpAggregatedDataProvider, variables: { marketId: marketId || '' }, update: () => true, skip: !marketId,