mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 20:07:33 -07:00
chore: formatting
This commit is contained in:
parent
3aa5b8237d
commit
fdcbf86823
1 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,10 @@ const { handler: externalTooltipHandler } = useChartTooltip({
|
||||||
position: "middle",
|
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() {
|
async function renderChart() {
|
||||||
if (chartInstance) {
|
if (chartInstance) {
|
||||||
|
|
Loading…
Reference in a new issue