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

Co-authored-by: Krrish Dholakia <krrishdholakia@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Krrish Dholakia 2026-10-15 15:57:37 -07:00 • committed by GitHub
parent 7090588bdf
commit 0a17da59fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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>