diff --git a/ui/litellm-dashboard/src/components/key_edit_view.tsx b/ui/litellm-dashboard/src/components/key_edit_view.tsx index 4ec3abdc99..959ce0362f 100644 --- a/ui/litellm-dashboard/src/components/key_edit_view.tsx +++ b/ui/litellm-dashboard/src/components/key_edit_view.tsx @@ -1,6 +1,6 @@ import React, { useState, useEffect } from "react"; -import { Form, Input, Select } from "antd"; -import { Button, TextInput } from "@tremor/react"; +import { Form, Input, Select, Button as AntdButton } from "antd"; +import { Button as TremorButton, TextInput } from "@tremor/react"; import { KeyResponse } from "./key_team_helpers/key_list"; import { fetchTeamModels } from "../components/create_key_button"; import { modelAvailableCall } from "./networking"; @@ -203,13 +203,15 @@ export function KeyEditView({ -
- - +
+
+ + Cancel + + + Save Changes + +
); diff --git a/ui/litellm-dashboard/src/components/key_info_view.tsx b/ui/litellm-dashboard/src/components/key_info_view.tsx index 0a5577badc..4154c61611 100644 --- a/ui/litellm-dashboard/src/components/key_info_view.tsx +++ b/ui/litellm-dashboard/src/components/key_info_view.tsx @@ -134,7 +134,7 @@ export default function KeyInfoView({ keyId, onClose, keyData, accessToken, user }; return ( -
+
- - Save Changes - +
+
+ + + Save Changes + +
) : ( diff --git a/ui/litellm-dashboard/src/components/team/team_info.tsx b/ui/litellm-dashboard/src/components/team/team_info.tsx index eebb4b8801..084f58065e 100644 --- a/ui/litellm-dashboard/src/components/team/team_info.tsx +++ b/ui/litellm-dashboard/src/components/team/team_info.tsx @@ -358,7 +358,7 @@ const TeamInfoView: React.FC = ({ {/* Settings Panel */} - +
Team Settings {(canEditTeam && !isEditing) && ( @@ -474,15 +474,16 @@ const TeamInfoView: React.FC = ({ - - -
- - - Save Changes - + +
+
+ + + Save Changes + +
) : (