Skip to content

Commit

Permalink
fix(Select): add onLoadMore to the list of dependencies to avoid clos…
Browse files Browse the repository at this point in the history
…ures (#1168)
  • Loading branch information
DenisVershkov authored Nov 28, 2023
1 parent 625679a commit a804684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Select/components/SelectList/SelectList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const SelectList = React.forwardRef<List<FlattenOption>, SelectListProps>
/>
);
},
[renderOption, renderOptionGroup, value, multiple, getItemHeight],
[renderOption, renderOptionGroup, value, multiple, getItemHeight, onLoadMore],
);

return (
Expand Down

0 comments on commit a804684

Please sign in to comment.