From 494202ab7dcde7d4503feb40cc220033db7964b1 Mon Sep 17 00:00:00 2001 From: Jordi Enric Date: Thu, 15 Jan 2026 12:50:19 +0700 Subject: [PATCH] prettier --- .../components/ui/Charts/ComposedChart.utils.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/studio/components/ui/Charts/ComposedChart.utils.tsx b/apps/studio/components/ui/Charts/ComposedChart.utils.tsx index faf1c5b826c..6a97a5b8649 100644 --- a/apps/studio/components/ui/Charts/ComposedChart.utils.tsx +++ b/apps/studio/components/ui/Charts/ComposedChart.utils.tsx @@ -320,14 +320,14 @@ export const CustomTooltip = ({ {active && showTotal && (
Total -
- - {isPercentage - ? formatPercentage(total as number, valuePrecision) - : formatNumeric(total as number) + - (!isPercentage && format !== 'ms' ? byteUnitSuffix : '')} - {format === 'ms' ? 'ms' : ''} - +
+ + {isPercentage + ? formatPercentage(total as number, valuePrecision) + : formatNumeric(total as number) + + (!isPercentage && format !== 'ms' ? byteUnitSuffix : '')} + {format === 'ms' ? 'ms' : ''} + {maxValueAttribute && !isPercentage && !isNaN((total as number) / maxValueData?.value) &&