mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
cleaner
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
import { CrudSorting } from "@refinedev/core";
|
||||
|
||||
export const generateSort = (sorters?: CrudSorting) => {
|
||||
return sorters?.map((item) => ({
|
||||
field: item.field,
|
||||
direction: item.order,
|
||||
}));
|
||||
};
|
||||
Reference in New Issue
Block a user