fixed bug for the slider

This commit is contained in:
Yi Ding
2023-08-07 16:31:14 -07:00
parent f297cc25a7
commit 05dfc4e397
+1 -1
View File
@@ -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]"
/>