From 0c170a6445c307c503fb05aef7bca7da8cb8a3dc Mon Sep 17 00:00:00 2001 From: root Date: Thu, 26 Feb 2026 12:46:32 +0000 Subject: [PATCH] fix: tooltip formatter type --- frontend/app/history/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/history/page.tsx b/frontend/app/history/page.tsx index 63b633f..073835e 100644 --- a/frontend/app/history/page.tsx +++ b/frontend/app/history/page.tsx @@ -51,7 +51,7 @@ export default function HistoryPage() { `${v.toFixed(3)}%`} width={60} /> - `${v.toFixed(4)}%`} contentStyle={{ background: "#1e293b", border: "1px solid #475569", borderRadius: 8 }} /> + typeof v === "number" ? `${v.toFixed(4)}%` : v} contentStyle={{ background: "#1e293b", border: "1px solid #475569", borderRadius: 8 }} />