mirror of
https://github.com/run-llama/ts-playground.git
synced 2026-07-01 20:44:01 -04:00
fixed bug for the slider
This commit is contained in:
@@ -67,7 +67,7 @@ const LinkedSlider = ({
|
||||
step={step}
|
||||
value={value}
|
||||
onChange={(e: ChangeEvent<HTMLInputElement>) => {
|
||||
onChange(parseInt(e.target.value));
|
||||
onChange(parseFloat(e.target.value));
|
||||
}}
|
||||
className="max-w-[100px]"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user