diff --git a/src/components/Dashboard/common/SortSidebarButton.jsx b/src/components/Dashboard/common/SortSidebarButton.jsx index 4d561b58..3de33001 100644 --- a/src/components/Dashboard/common/SortSidebarButton.jsx +++ b/src/components/Dashboard/common/SortSidebarButton.jsx @@ -1,23 +1,39 @@ import PropTypes from 'prop-types' -import { Button } from 'antd' +import { Badge, Button } from 'antd' +import { useLocation } from 'react-router-dom' import SortCircleFilledIcon from '../../Icons/SortCircleFilledIcon' import SortCircleIcon from '../../Icons/SortCircleIcon' +import { useTableState } from '../context/TableStateContext' -const SortSidebarButton = ({ active, onClick, ...buttonProps }) => ( -