mirror of https://github.com/certusone/oyster.git
fix: slider input
This commit is contained in:
parent
31ae3ef4f5
commit
d466152aaa
|
@ -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);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue