Finalize sort created_at filter

This commit is contained in:
Charles Bochet
2023-04-21 09:00:50 +02:00
parent 007debcee2
commit 0f09464f14
3 changed files with 21 additions and 13 deletions

View File

@ -16,7 +16,7 @@ type OwnProps<TData> = {
columns: Array<ColumnDef<TData, any>>;
viewName: string;
viewIcon?: IconProp;
onSortsUpdate?: React.Dispatch<React.SetStateAction<SortType[]>>;
onSortsUpdate?: (sorts: Array<SortType>) => void;
};
const StyledTable = styled.table`