Skip to content

Commit

Permalink
fix: remove change handler from destructered props in 'Select'
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Seidel committed Jul 12, 2024
1 parent c21169f commit cae5920
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Select/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,7 @@ function SelectInner<
ValueType = unknown,
OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType,
>(
{
children,
dropdownRender,
onChange,
...props
}: SelectProps<ValueType, OptionType>,
{ children, dropdownRender, ...props }: SelectProps<ValueType, OptionType>,
ref: ForwardedRef<BaseSelectRef>,
) {
const styledDropdownRender = useCallback(
Expand Down

0 comments on commit cae5920

Please sign in to comment.