Update database detection.

This commit is contained in:
Mike Cao 2020-08-30 00:02:03 -07:00
parent 07cc61f5c3
commit 7a81dda7b6
3 changed files with 6 additions and 3 deletions

View file

@ -95,7 +95,6 @@ export function getDateArray(data, startDate, endDate, unit) {
const arr = [];
const [diff, add, normalize] = dateFuncs[unit];
const n = diff(endDate, startDate) + 1;
console.log({ startDate, endDate, n });
function findData(t) {
const x = data.find(e => {