mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
fix(user_edit_view.tsx): use shared component to prevent accidental setting of edit user budget
This commit is contained in:
parent
bb5e71447d
commit
84f934bf36
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import React from "react";
|
||||
import { Form, InputNumber, Select, Tooltip } from "antd";
|
||||
import NumericalInput from "./shared/numerical_input";
|
||||
import { TextInput, Textarea, SelectItem } from "@tremor/react";
|
||||
import { Button } from "@tremor/react";
|
||||
import { getModelDisplayName } from "./key_team_helpers/fetch_available_models_team_key";
|
||||
|
|
@ -150,7 +151,7 @@ export function UserEditView({
|
|||
label="Max Budget (USD)"
|
||||
name="max_budget"
|
||||
>
|
||||
<InputNumber
|
||||
<NumericalInput
|
||||
step={0.01}
|
||||
precision={2}
|
||||
style={{ width: "100%" }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue