From dac13ae604a065c66ff17673dc7b599675c112a2 Mon Sep 17 00:00:00 2001 From: CodingOnStar Date: Wed, 15 Oct 2025 10:16:51 +0800 Subject: [PATCH] fix: remove unnecessary console log and add rounded corners to Icon in QuotaPanel --- .../model-provider-page/provider-added-card/quota-panel.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/components/header/account-setting/model-provider-page/provider-added-card/quota-panel.tsx b/web/app/components/header/account-setting/model-provider-page/provider-added-card/quota-panel.tsx index b9143578d1..5898c08903 100644 --- a/web/app/components/header/account-setting/model-provider-page/provider-added-card/quota-panel.tsx +++ b/web/app/components/header/account-setting/model-provider-page/provider-added-card/quota-panel.tsx @@ -77,7 +77,7 @@ const QuotaPanel: FC = ({ } } }, [providers, isShowInstallModal, hideInstallFromMarketplace]) - console.log('isLoading', isLoading) + if (isLoading) { return (
@@ -119,7 +119,7 @@ const QuotaPanel: FC = ({ className={cn('relative h-6 w-6', !isAvailable && 'cursor-pointer hover:opacity-80')} onClick={() => handleIconClick(key, isAvailable)} > - + {!isAvailable && (
)}