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}`);