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 linting

Ishaan Jaff8274c8fe36bd
diff --git a/ui/litellm-dashboard/src/components/key_page_wrapper.tsx b/ui/litellm-dashboard/src/components/key_page_wrapper.tsx
deleted file mode 100644
index 5870e00fe73..00000000000
--- a/ui/litellm-dashboard/src/components/key_page_wrapper.tsx
+++ /dev/null
@@ -1,50 +0,0 @@
-import React, { useState } from "react";
-import TopKeyView from "./top_key_view";
-import KeyInfoView from "./key_info_view";
-import { KeyResponse } from "./key_team_helpers/key_list";
-
-interface KeyPageWrapperProps {
- topKeys: any[];
- accessToken: string | null;
- userID: string | null;
- userRole: string | null;
- teams: any[] | null;
-}
-
-const KeyPageWrapper: React.FC<KeyPageWrapperProps> = ({
- topKeys,
- accessToken,
- userID,
- userRole,
- teams,
-}) => {
- const [selectedKeyData, setSelectedKeyData] = useState<KeyResponse | null>(null);
-
- if (selectedKeyData) {
- return (
- <div className="h-full w-full">
- <KeyInfoView
- keyId={selectedKeyData.token}
- keyData={selectedKeyData}
- onClose={() => setSelectedKeyData(null)}
- accessToken={accessToken}
- userID={userID}
- userRole={userRole}
- teams={teams}
- />
- </div>
- );
- }
-
- return (
- <TopKeyView
- topKeys={topKeys}
- accessToken={accessToken}
- userID={userID}
- userRole={userRole}
- onKeySelect={setSelectedKeyData}
- />
- );
-};
-
-export default KeyPageWrapper;
\ No newline at end of file