mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 19:54:13 +00:00
ui - edit interal user flow
This commit is contained in:
parent
425a8fdb3a
commit
1dfc391a2b
2 changed files with 20 additions and 10 deletions
|
@ -65,9 +65,9 @@ const ViewUserDashboard: React.FC<ViewUserDashboardProps> = ({
|
|||
const [selectedUser, setSelectedUser] = useState(null);
|
||||
const defaultPageSize = 25;
|
||||
|
||||
const handleEditCancel = () => {
|
||||
setEditModalVisible(false);
|
||||
const handleEditCancel = async () => {
|
||||
setSelectedUser(null);
|
||||
setEditModalVisible(false);
|
||||
};
|
||||
|
||||
const handleEditSubmit = async (editedUser: any) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue