From c9650441bbf00ec6604e2fb6ab40739639d4ea80 Mon Sep 17 00:00:00 2001 From: Shroominic Date: Wed, 28 Jan 2026 18:11:07 +0800 Subject: [PATCH] fix build error --- ui/app/providers/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/providers/page.tsx b/ui/app/providers/page.tsx index c087fcd8..ce9cb06a 100644 --- a/ui/app/providers/page.tsx +++ b/ui/app/providers/page.tsx @@ -224,7 +224,7 @@ function ProviderBalance({ displayValue = `$${balance.toFixed(2)}`; } else if (balance && typeof balance === 'object') { // Legacy support for object response - const b = balance as Record; + const b = balance as Record; if (typeof b.balance === 'number') { displayValue = `$${b.balance.toFixed(2)}`; } else if (typeof b.balance === 'string') { @@ -389,7 +389,7 @@ export default function ProvidersPage() { useState(null); const [isCreateDialogOpen, setIsCreateDialogOpen] = useState(false); const [isEditDialogOpen, setIsEditDialogOpen] = useState(false); - const [expandedProviders, setExpandedProviders] = useState(new Set()); + const [expandedProviders, setExpandedProviders] = useState>(new Set()); const [viewingModels, setViewingModels] = useState(null); const [isCreatingAccount, setIsCreatingAccount] = useState(false); const [modelDialogState, setModelDialogState] = useState<{