From 3ce17fc436fc9146edac23ce354f26068adcc7c4 Mon Sep 17 00:00:00 2001 From: Cindy Chang Date: Mon, 17 Jun 2024 20:54:00 +0800 Subject: [PATCH] clean console --- src/module/timeLabel.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/module/timeLabel.js b/src/module/timeLabel.js index 0b9b600..5adc000 100644 --- a/src/module/timeLabel.js +++ b/src/module/timeLabel.js @@ -11,10 +11,8 @@ const TOFIXED_DEICMAL = 1; export const getStepSizeOfYTicks = (maxTimeInSecond) => { const numOfParts = NUM_OF_PARTS_TO_SPLIT; const {unitToUse, timeValue} = getTimeUnitAndValueToUse(maxTimeInSecond); - console.log('{unitToUse, timeValue}', unitToUse, timeValue); // TODO: let resultStepSize; resultStepSize = (timeValue / numOfParts); - console.log('resultStepSize', resultStepSize); //TODO: return {resultStepSize, unitToUse}; } @@ -33,13 +31,11 @@ const getTimeUnitAndValueToUse = (secondToDecide) => { const mm = secondToDecide / minutes; if (dd > 0) { - console.log('dd > 0 && dd > 1 secondToDecide / day', secondToDecide / day); //TODO: return { unitToUse: "d", timeValue: secondToDecide / day, }; } else if (hh > 0) { - console.log('hh > 0 && hh > 1 secondToDecide / hour', secondToDecide / hour); return { unitToUse: "h", timeValue: secondToDecide / hour,