From 2ebe69829ef637d954f001d55d452528b2c32226 Mon Sep 17 00:00:00 2001 From: Fine Date: Thu, 6 Apr 2023 19:18:43 +0800 Subject: [PATCH] fix: type --- src/hooks/useMetricsProcessor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useMetricsProcessor.ts b/src/hooks/useMetricsProcessor.ts index e969b3e2..dbea34bf 100644 --- a/src/hooks/useMetricsProcessor.ts +++ b/src/hooks/useMetricsProcessor.ts @@ -424,7 +424,7 @@ export function aggregation(val: number, config: { calculation?: string }): numb return data; } -export async function useGetMetricEntity(metric: string, metricType: string[]) { +export async function useGetMetricEntity(metric: string, metricType: string) { if (!metric || !metricType) { return; }