From c4cc09d61eb4b7bc6e4179bf84df3502140b4d3f Mon Sep 17 00:00:00 2001 From: Shroominic Date: Fri, 9 Jan 2026 16:50:10 +0800 Subject: [PATCH] fix provider balance not displaying when 0 --- ui/app/providers/page.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/app/providers/page.tsx b/ui/app/providers/page.tsx index 4624f26a..d5d8c522 100644 --- a/ui/app/providers/page.tsx +++ b/ui/app/providers/page.tsx @@ -208,7 +208,11 @@ function ProviderBalance({ return ; } - if (error || !balanceData?.ok || !balanceData.balance_data) { + if ( + error || + !balanceData?.ok || + (balanceData.balance_data === undefined || balanceData.balance_data === null) + ) { return null; }