mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 09:20:15 +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]}
|
value={[presP]}
|
||||||
onValueChange={value => setPresP(value)}
|
onValueChange={value => setPresP(value)}
|
||||||
max={2}
|
max={2}
|
||||||
min={0}
|
min={-2}
|
||||||
step={0.01}
|
step={0.01}
|
||||||
className="w-full opacity-0"
|
className="w-full opacity-0"
|
||||||
/>
|
/>
|
||||||
<Slider
|
<Slider
|
||||||
value={[0]}
|
value={[presP]}
|
||||||
onValueChange={value => setPresP(value)}
|
onValueChange={value => setPresP(value)}
|
||||||
max={2}
|
max={2}
|
||||||
min={-2}
|
min={-2}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue