From 9f3c915decd9a4aad97f94ce04ce7f3f4d20fc55 Mon Sep 17 00:00:00 2001 From: 9qeklajc Date: Wed, 11 Mar 2026 22:45:13 +0100 Subject: [PATCH] fmt --- ui/components/provider-card.tsx | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/ui/components/provider-card.tsx b/ui/components/provider-card.tsx index 6ac8843f..d5ed95af 100644 --- a/ui/components/provider-card.tsx +++ b/ui/components/provider-card.tsx @@ -12,7 +12,14 @@ import { CardHeader, CardTitle, } from '@/components/ui/card'; -import { ChevronDown, ChevronUp, Database, Pencil, Trash2, Key } from 'lucide-react'; +import { + ChevronDown, + ChevronUp, + Database, + Pencil, + Trash2, + Key, +} from 'lucide-react'; import { ProviderBalance } from '@/components/provider-balance'; import { ProviderModelsPanel } from '@/components/provider-models-panel'; import { RoutstrCreateKeySection } from '@/components/providers/RoutstrCreateKeySection'; @@ -89,10 +96,12 @@ export function ProviderCard({
{canShowBalance && provider.api_key && ( -
+
setIsKeyModalOpen(true)} className={cn( 'justify-center gap-1.5', - canShowBalance && provider.api_key ? 'col-span-1' : 'col-span-2 sm:col-auto' + canShowBalance && provider.api_key + ? 'col-span-1' + : 'col-span-2 sm:col-auto' )} >