mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-15 09:12:18 +00:00
fix(ui): preserve link semantics for the Aria shortcut
This commit is contained in:
parent
63bae79ce8
commit
db4ec9832d
1 changed files with 3 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ import { createGatewayClient } from "@/components/llm_calls/gateway_client";
|
|||
import { getProxyBaseUrl } from "@/components/networking";
|
||||
import { SearchSelect } from "@/components/shared/SearchSelect";
|
||||
import { Alert, AlertDescription } from "@/components/ui/alert";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Button, buttonVariants } from "@/components/ui/button";
|
||||
import { Card, CardContent, CardFooter, CardHeader, CardTitle } from "@/components/ui/card";
|
||||
import { FieldError } from "@/components/ui/field";
|
||||
import { Kbd } from "@/components/ui/kbd";
|
||||
|
|
@ -159,10 +159,10 @@ export function AriaUsageTrigger() {
|
|||
const state = useContext(LiteAdminContext);
|
||||
if (!state) return null;
|
||||
return (
|
||||
<Button variant="outline" size="sm" render={<Link href={uiHref("aria")} />} className="gap-1.5">
|
||||
<Link href={uiHref("aria")} className={cn(buttonVariants({ variant: "outline", size: "sm" }), "gap-1.5")}>
|
||||
<AriaAvatar size={18} />
|
||||
Ask Aria
|
||||
</Button>
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue