fix top key view

This commit is contained in:
Ishaan Jaff 2025-03-13 19:51:16 -07:00
parent b504e3b406
commit 6a4cce7687
2 changed files with 2 additions and 4 deletions

View file

@ -119,7 +119,6 @@ const TopKeyView: React.FC<TopKeyViewProps> = ({
{viewMode === 'chart' ? (
<div className="relative">
<div className="mb-2 text-sm text-gray-500 italic">Click on any key to view detailed information</div>
<BarChart
className="mt-4 h-40 cursor-pointer hover:opacity-90"
data={topKeys}

View file

@ -657,7 +657,7 @@ const UsagePage: React.FC<UsagePageProps> = ({
</Card>
</Col>
<Col numColSpan={1}>
<Card>
<Card className="h-full">
<Title>Top API Keys</Title>
<TopKeyView
topKeys={topKeys}
@ -668,7 +668,7 @@ const UsagePage: React.FC<UsagePageProps> = ({
</Card>
</Col>
<Col numColSpan={1}>
<Card>
<Card className="h-full">
<Title>Top Models</Title>
<BarChart
className="mt-4 h-40"
@ -683,7 +683,6 @@ const UsagePage: React.FC<UsagePageProps> = ({
valueFormatter={(value) => `$${value.toFixed(2)}`}
/>
</Card>
</Col>
<Col numColSpan={1}>