Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(ui): place Home Create New Virtual Key button like the Virtual Keys page (#46778)

Krrish Dholakia0a17da59fd68
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/home/_components/HomePage.tsx b/ui/litellm-dashboard/src/app/(dashboard)/home/_components/HomePage.tsx
index 22eb0a07f32..b0c63bb5dc0 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/home/_components/HomePage.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/home/_components/HomePage.tsx
@@ -29,14 +29,11 @@ export default function HomePage() {
return (
<Page>
- <PageHeader className="flex flex-wrap items-center justify-between gap-3">
+ <PageHeader>
<PageHeaderTitle>Home</PageHeaderTitle>
{!isViewOnly && (
- <PageHeaderControls className="mt-0">
- <Button
- render={<a href={uiHref("api-keys?create=true")} />}
- className="bg-info text-info-foreground shadow-xs hover:bg-info/90"
- >
+ <PageHeaderControls>
+ <Button render={<a href={uiHref("api-keys?create=true")} />}>
<Plus />
Create New Virtual Key
</Button>