전체적인 리팩토링
This commit is contained in:
@@ -328,6 +328,9 @@ export function nowHmsInKst() {
|
||||
}
|
||||
|
||||
export function minutesForTimeframe(tf: DashboardChartTimeframe) {
|
||||
if (tf === "5m") return 5;
|
||||
if (tf === "10m") return 10;
|
||||
if (tf === "15m") return 15;
|
||||
if (tf === "30m") return 30;
|
||||
if (tf === "1h") return 60;
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user