From 1bab53fed2a3409a1f6a63411215f3ac771bd17a Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 26 Apr 2023 14:20:27 -0700 Subject: [PATCH] chore: formatting --- packages/client/src/components/MkHeatmap.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/client/src/components/MkHeatmap.vue b/packages/client/src/components/MkHeatmap.vue index 7b1c2f7ed3..2d2aef2279 100644 --- a/packages/client/src/components/MkHeatmap.vue +++ b/packages/client/src/components/MkHeatmap.vue @@ -43,7 +43,10 @@ const { handler: externalTooltipHandler } = useChartTooltip({ position: "middle", }); -const addArrays = (arr1: number[], arr2: number[], arr3: number[]) => (arr1.length === arr2.length && arr2.length === arr3.length) ? arr1.map((val, i) => val + arr2[i] + arr3[i]) : null; +const addArrays = (arr1: number[], arr2: number[], arr3: number[]) => + arr1.length === arr2.length && arr2.length === arr3.length + ? arr1.map((val, i) => val + arr2[i] + arr3[i]) + : null; async function renderChart() { if (chartInstance) {