fixing build

This commit is contained in:
yuneng-jiang 2025-12-29 17:06:16 -08:00
parent e0b96c4265
commit 5cdd88bc5c
2 changed files with 2 additions and 18 deletions

View file

@ -268,16 +268,7 @@ const TopKeyView: React.FC<TopKeyViewProps> = ({ topKeys, teams, showTags = fals
{/* Content */}
<div className="p-6 h-full">
<KeyInfoView
keyId={selectedKey}
onClose={handleClose}
keyData={keyData}
accessToken={accessToken}
userID={userID}
userRole={userRole}
teams={teams}
premiumUser={premiumUser}
/>
<KeyInfoView keyId={selectedKey} onClose={handleClose} keyData={keyData} teams={teams} />
</div>
</div>
</div>

View file

@ -526,12 +526,8 @@ export default function SpendLogsTable({
<KeyInfoView
keyId={selectedKeyIdInfoView}
keyData={selectedKeyInfo}
accessToken={accessToken}
userID={userID}
userRole={userRole}
teams={allTeams}
onClose={() => setSelectedKeyIdInfoView(null)}
premiumUser={premiumUser}
backButtonText="Back to Logs"
/>
) : selectedSessionId ? (
@ -968,10 +964,7 @@ export function RequestViewer({ row }: { row: Row<LogEntry> }) {
</div>
{/* Cost Breakdown - Show if cost breakdown data is available */}
<CostBreakdownViewer
costBreakdown={row.original.metadata?.cost_breakdown}
totalSpend={row.original.spend || 0}
/>
<CostBreakdownViewer costBreakdown={row.original.metadata?.cost_breakdown} totalSpend={row.original.spend || 0} />
{/* Configuration Info Message - Show when data is missing */}
<ConfigInfoMessage show={missingData} />