diff --git a/packages/react-ranger/src/index.tsx b/packages/react-ranger/src/index.tsx index 8eca363..eef90f8 100644 --- a/packages/react-ranger/src/index.tsx +++ b/packages/react-ranger/src/index.tsx @@ -12,7 +12,7 @@ export function useRanger( const rerender = React.useReducer(() => ({}), {})[1] const resolvedOptions: RangerConfig = { ...options, - rerender: rerender, + rerender, onChange: (instance) => { rerender() options.onChange?.(instance)