mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 17:30:16 +01:00
fix(Settings.jsx): change min value of Slider component to -2 to allow negative values for presP variable
This commit is contained in:
parent
404566c1fb
commit
064dfb5336
1 changed files with 2 additions and 2 deletions
|
|
@ -218,12 +218,12 @@ function Settings() {
|
|||
value={[presP]}
|
||||
onValueChange={value => setPresP(value)}
|
||||
max={2}
|
||||
min={0}
|
||||
min={-2}
|
||||
step={0.01}
|
||||
className="w-full opacity-0"
|
||||
/>
|
||||
<Slider
|
||||
value={[0]}
|
||||
value={[presP]}
|
||||
onValueChange={value => setPresP(value)}
|
||||
max={2}
|
||||
min={-2}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue