From 774b9ea4fb19c2ba248f3290897e1cbf32139970 Mon Sep 17 00:00:00 2001 From: Kaosiso Ezealigo Date: Mon, 22 Apr 2024 15:25:32 +0100 Subject: [PATCH] fixed latency format in evaluation view --- agenta-web/src/lib/helpers/formatters.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agenta-web/src/lib/helpers/formatters.ts b/agenta-web/src/lib/helpers/formatters.ts index 34caa04736..f6e2bae571 100644 --- a/agenta-web/src/lib/helpers/formatters.ts +++ b/agenta-web/src/lib/helpers/formatters.ts @@ -17,5 +17,5 @@ export const formatCurrency = (value = 0) => { } export const formatLatency = (value = 0) => { - return `${intlNumber.format(value / 1000)}s` + return `${Math.round(value * 1000)}ms` }