Skip to content

Commit c504281

Browse files
harsh-h-simformdhruv-h-simform
authored andcommitted
fix(UNT-T17251): onComplete function
1 parent 1685609 commit c504281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/RadialSlider/hooks/useSilderAnimation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ const useSilderAnimation = (props: RadialSliderAnimationHookProps) => {
132132
if (disabled) {
133133
return;
134134
}
135-
onComplete(value);
135+
onComplete(prevValue.current);
136136
};
137137

138138
const panResponder = useRef(

0 commit comments

Comments
 (0)