diff --git a/app/features/build-analyzer/routes/analyzer.tsx b/app/features/build-analyzer/routes/analyzer.tsx index d220bdff1..c902913de 100644 --- a/app/features/build-analyzer/routes/analyzer.tsx +++ b/app/features/build-analyzer/routes/analyzer.tsx @@ -1715,11 +1715,19 @@ function ConsumptionTable({ const opt1 = options1ForThisSubsUsed[i]; const opt2 = options2ForThisSubsUsed[i]; - const contents = !isComparing - ? opt1.value - : `${opt1?.value ?? "-"}/${opt2?.value ?? "-"}`; + const contents = () => { + if (isComparing) { + return `${opt1?.value ?? "-"}/${opt2?.value ?? "-"}`; + } - cells.push(