Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: fix highlight value logic to matc BarChart

TzeYiingc502e3f2b3f2
diff --git a/studio/components/ui/Charts/AreaChart.tsx b/studio/components/ui/Charts/AreaChart.tsx
index 22f722967ec..be69b3ad2d0 100644
--- a/studio/components/ui/Charts/AreaChart.tsx
+++ b/studio/components/ui/Charts/AreaChart.tsx
@@ -52,7 +52,7 @@ const AreaChart: React.FC<AreaChartProps> = ({
highlightedLabel
const resolvedHighlightedValue =
- (focusDataIndex !== null ? data[focusDataIndex]?.[yAxisKey] : null) || highlightedValue
+ focusDataIndex !== null ? data[focusDataIndex]?.[yAxisKey] : highlightedValue
return (
<div className={['flex flex-col gap-3', className].join(' ')}>