chore: formatting

This commit is contained in:
ThatOneCalculator 2023-04-26 14:20:27 -07:00
parent 3dfb43be84
commit 1bab53fed2
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
1 changed files with 4 additions and 1 deletions

View File

@ -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) {