Merge pull request #809 from ONLYOFFICE/bugfix/fixed-sort-button-render

Web: Common: fixed SortButton render
This commit is contained in:
Alexey Safronov 2022-09-08 16:28:34 +03:00 committed by GitHub
commit 027672f67b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,7 +212,7 @@ const SortButton = ({
sortDirection: selectedValue.sortDirection,
sortId: selectedValue.sortId,
});
}, []);
}, [getSortData, getSelectedSortData]);
const toggleCombobox = React.useCallback(() => {
setIsOpen((val) => !val);