update manage group

This commit is contained in:
wayanrivan
2025-04-27 10:13:26 +07:00
parent 2199c37ce3
commit 6fbd7bb3fe

View File

@ -13,20 +13,6 @@ export type Group = {
};
export const getColumns = (handleUpdate: (data: any) => void): ColumnDef<Group>[] => [
{
accessorKey: 'no',
header: ({ column }) => {
return (
<Button
variant="ghost"
onClick={() => column.toggleSorting(column.getIsSorted() === 'asc')}
>
ID
<ArrowUpDown className="ml-2 h-4 w-4" />
</Button>
);
}
},
{
accessorKey: 'created_at',
header: ({ column }) => {