refactor: remove sort level column

This commit is contained in:
Mauricio Siu
2024-09-05 01:13:41 -06:00
parent 66cd434839
commit bba51fcd11
2 changed files with 309 additions and 317 deletions
@@ -26,15 +26,7 @@ export const columns: ColumnDef<LogEntry>[] = [
{
accessorKey: "level",
header: ({ column }) => {
return (
<Button
variant="ghost"
onClick={() => column.toggleSorting(column.getIsSorted() === "asc")}
>
Level
<ArrowUpDown className="ml-2 h-4 w-4" />
</Button>
);
return <Button variant="ghost">Level</Button>;
},
cell: ({ row }) => {
return <div>{row.original.level}</div>;