From 47bd93cd4c68c1f3d1e5ea93ed7cd5d089162644 Mon Sep 17 00:00:00 2001 From: qwer0114 Date: Wed, 4 Dec 2024 17:54:02 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=9B=94=20=EC=8B=9C=EA=B0=84=20?= =?UTF-8?q?=EA=B0=9C=EC=82=B0=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/client/src/utility/chart/chartTimeUtils.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/client/src/utility/chart/chartTimeUtils.ts b/packages/client/src/utility/chart/chartTimeUtils.ts index 7da3bccf..37018f58 100644 --- a/packages/client/src/utility/chart/chartTimeUtils.ts +++ b/packages/client/src/utility/chart/chartTimeUtils.ts @@ -5,12 +5,12 @@ export const getPeriodMs = (activePeriod: CandlePeriod, minute?: number) => { case 'minutes': return (minute || 1) * 60 * 1000; case 'days': - return 24 * 60 * 60 * 1000; + return false; case 'weeks': - return 7 * 24 * 60 * 60 * 1000; + return false; case 'months': - return 30 * 24 * 60 * 60 * 1000; + return false; default: - return 60 * 1000; + return false; } };