chore: remove logging

This commit is contained in:
TzeYiing authored and Copple committed 2022-03-30 17:07:40 +02:00
1 parent ab02984d30
commit 5639fbd7f3
1 file changed
-2
@@ -51,8 +51,6 @@ const useAggregated = (data: LogData[]) => {
let truncFunc = truncateToMinute
let getDiff = getDiffMinute
let diffMultiplier = diffMultiplierMinute
console.log([oldestDayjs.format(),latestDayjs.format()])
console.log(oldestDayjs.diff(latestDayjs, 'day', true))
if (Math.abs(oldestDayjs.diff(latestDayjs, 'day', true)) > 0.25) {
truncFunc = truncateToHour
getDiff = getDiffHour