Skip to content

Commit

Permalink
fix: select generics
Browse files Browse the repository at this point in the history
  • Loading branch information
TomatoVan committed Mar 16, 2024
1 parent 468cd13 commit 0896ed8
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ export const ArticleSortSelector = memo((props: ArticleSortSelectorProps) => {
},
], [t]);

// const changeSortHandler = useCallback((newSort: string) => {
// onChangeSort(newSort as ArticleSortField);
// }, [onChangeSort]);
//
// const changeOrderHandler = useCallback((newOrder: string) => {
// onChangeOrder(newOrder as SortOrder);
// }, [onChangeOrder]);

return (
<div className={classNames(cls.ArticleSortSelector, {}, [className])}>
<Select
Expand Down

0 comments on commit 0896ed8

Please sign in to comment.