From befe6ebdf841df8fcbeca13abf2130eae9b38430 Mon Sep 17 00:00:00 2001 From: katty barroso Date: Mon, 28 Oct 2024 10:07:20 +0100 Subject: [PATCH] Fix bug on graph --- centrifuge-app/src/components/Charts/PoolPerformanceChart.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/centrifuge-app/src/components/Charts/PoolPerformanceChart.tsx b/centrifuge-app/src/components/Charts/PoolPerformanceChart.tsx index bd96597727..b4a7b07ab1 100644 --- a/centrifuge-app/src/components/Charts/PoolPerformanceChart.tsx +++ b/centrifuge-app/src/components/Charts/PoolPerformanceChart.tsx @@ -276,6 +276,7 @@ function PoolPerformanceChart() { tickFormatter={(tick: number) => formatBalanceAbbreviated(tick, '', 2)} yAxisId="right" orientation="right" + domain={selectedTabIndex === 0 ? ['auto', 'auto'] : ['dataMin', 'dataMax']} />