Skip to content

Commit

Permalink
Update use-uncontrolled.ts
Browse files Browse the repository at this point in the history
remove needless default value
  • Loading branch information
vaynevayne committed May 14, 2023
1 parent 36f8110 commit cd4a0a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mantine-hooks/src/use-uncontrolled/use-uncontrolled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function useUncontrolled<T>({
value,
defaultValue,
finalValue,
onChange = () => {},
onChange,
}: UseUncontrolledInput<T>): [T, (value: T) => void, boolean] {
const stableOnChange = useMemoizedFn(onChange);

Expand Down

0 comments on commit cd4a0a8

Please sign in to comment.