From 558c37ca06fe61ce1312a9a69df5f14826d29bf5 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 14 Mar 2025 09:18:37 -0700 Subject: [PATCH] fix ui --- ui/litellm-dashboard/src/components/create_key_button.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ui/litellm-dashboard/src/components/create_key_button.tsx b/ui/litellm-dashboard/src/components/create_key_button.tsx index cce52ab3d9f..c94acc44867 100644 --- a/ui/litellm-dashboard/src/components/create_key_button.tsx +++ b/ui/litellm-dashboard/src/components/create_key_button.tsx @@ -274,11 +274,7 @@ const CreateKey: React.FC = ({ message.success("API Key Created"); form.resetFields(); localStorage.removeItem("userData" + userID); - - // We don't need to call refresh anymore since we're directly updating the state - // if (window.refreshKeysList) { - // window.refreshKeysList(); - // } + } catch (error) { console.log("error in create key:", error); message.error(`Error creating the key: ${error}`);