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,
setPct: useCallback(
(val: number) => {
setType(InputType.AbsoluteValue);
setType(InputType.Percent);
setPct(val);
setValue(convert(val) as string);
},