From 064dfb53368aa7acc28883b37b9861c826805e7f Mon Sep 17 00:00:00 2001 From: Daniel Avila Date: Fri, 31 Mar 2023 21:11:43 -0400 Subject: [PATCH] fix(Settings.jsx): change min value of Slider component to -2 to allow negative values for presP variable --- client/src/components/Input/OpenAIOptions/Settings.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/Input/OpenAIOptions/Settings.jsx b/client/src/components/Input/OpenAIOptions/Settings.jsx index f42ffda52d..d1778ad0c8 100644 --- a/client/src/components/Input/OpenAIOptions/Settings.jsx +++ b/client/src/components/Input/OpenAIOptions/Settings.jsx @@ -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" /> setPresP(value)} max={2} min={-2}