Refactor database queries.

This commit is contained in:
Mike Cao 2020-08-11 22:24:41 -07:00
parent a248f35db2
commit f4ca353b5c
24 changed files with 371 additions and 329 deletions

View file

@ -111,7 +111,5 @@ export function getDateArray(data, startDate, endDate, unit) {
arr.push({ t, y });
}
console.log({ unit, arr });
return arr;
}