mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-12 08:42:18 +00:00
fix(ui): narrow duration selection value
This commit is contained in:
parent
78b36699df
commit
298117acca
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ export default function DurationSelect({ className, value, onChange }: DurationS
|
|||
onValueChange={(nextValue) => {
|
||||
const selectedOption = DURATION_OPTIONS.find((option) => option.value === nextValue);
|
||||
if (selectedOption) {
|
||||
onChange?.(nextValue, selectedOption);
|
||||
onChange?.(selectedOption.value, selectedOption);
|
||||
}
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue