fix: slider input

This commit is contained in:
bartosz-lipinski 2020-12-26 21:59:18 -06:00
parent 31ae3ef4f5
commit d466152aaa
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export const useSliderInput = (
pct, pct,
setPct: useCallback( setPct: useCallback(
(val: number) => { (val: number) => {
setType(InputType.AbsoluteValue); setType(InputType.Percent);
setPct(val); setPct(val);
setValue(convert(val) as string); setValue(convert(val) as string);
}, },