From 5ccf02fbe3d5675940ef16346c8a9a1636ff9caf Mon Sep 17 00:00:00 2001 From: marcelgerber Date: Tue, 26 Nov 2024 13:02:32 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20style:=20prettify=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/@ourworldindata/grapher/src/core/Grapher.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@ourworldindata/grapher/src/core/Grapher.tsx b/packages/@ourworldindata/grapher/src/core/Grapher.tsx index 365028f6d9a..99080b5f556 100644 --- a/packages/@ourworldindata/grapher/src/core/Grapher.tsx +++ b/packages/@ourworldindata/grapher/src/core/Grapher.tsx @@ -1937,7 +1937,7 @@ export class Grapher get typeExceptWhenLineChartAndSingleTimeThenWillBeBarChart(): GrapherChartType { return this.isLineChartThatTurnedIntoDiscreteBar ? GRAPHER_CHART_TYPES.DiscreteBar - : this.activeChartType ?? GRAPHER_CHART_TYPES.LineChart + : (this.activeChartType ?? GRAPHER_CHART_TYPES.LineChart) } @computed get isLineChart(): boolean {