From 7eca3efc92633b4411d64e476bc27e174368a927 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 18 Jul 2025 18:38:53 -0700 Subject: [PATCH] Revert "ui fix linting" This reverts commit 586918dddb947e35a2385b0f9baf360acd74e444. --- ui/litellm-dashboard/src/components/all_keys_table.tsx | 3 --- ui/litellm-dashboard/src/components/view_key_table.tsx | 3 --- 2 files changed, 6 deletions(-) diff --git a/ui/litellm-dashboard/src/components/all_keys_table.tsx b/ui/litellm-dashboard/src/components/all_keys_table.tsx index 775d84cc56e..dd5b469d7d6 100644 --- a/ui/litellm-dashboard/src/components/all_keys_table.tsx +++ b/ui/litellm-dashboard/src/components/all_keys_table.tsx @@ -57,7 +57,6 @@ interface AllKeysTableProps { selectedKeyAlias: string | null; setSelectedKeyAlias: Setter; accessToken: string | null; - setAccessToken: (token: string) => void; userID: string | null; userRole: string | null; organizations: Organization[] | null; @@ -136,7 +135,6 @@ export function AllKeysTable({ selectedKeyAlias, setSelectedKeyAlias, accessToken, - setAccessToken, userID, userRole, organizations, @@ -623,7 +621,6 @@ export function AllKeysTable({ if (refresh) refresh(); // Minimal fix: refresh the full key list after a delete }} accessToken={accessToken} - setAccessToken={setAccessToken} userID={userID} userRole={userRole} teams={allTeams} diff --git a/ui/litellm-dashboard/src/components/view_key_table.tsx b/ui/litellm-dashboard/src/components/view_key_table.tsx index f7e57ead243..2faed3a81f7 100644 --- a/ui/litellm-dashboard/src/components/view_key_table.tsx +++ b/ui/litellm-dashboard/src/components/view_key_table.tsx @@ -93,7 +93,6 @@ interface ViewKeyTableProps { userID: string; userRole: string | null; accessToken: string; - setAccessToken: (token: string) => void; selectedTeam: any | null; setSelectedTeam: React.Dispatch>; data: any[] | null; @@ -145,7 +144,6 @@ const ViewKeyTable: React.FC = ({ userID, userRole, accessToken, - setAccessToken, selectedTeam, setSelectedTeam, data, @@ -388,7 +386,6 @@ const ViewKeyTable: React.FC = ({ selectedTeam={selectedTeam} setSelectedTeam={setSelectedTeam} accessToken={accessToken} - setAccessToken={setAccessToken} userID={userID} userRole={userRole} organizations={organizations}