diff --git a/ui/src/components/table/groupings-table.tsx b/ui/src/components/table/groupings-table.tsx index cb3df24b..b63ccea1 100644 --- a/ui/src/components/table/groupings-table.tsx +++ b/ui/src/components/table/groupings-table.tsx @@ -1,5 +1,4 @@ 'use client'; - import { useReactTable, flexRender, @@ -12,17 +11,14 @@ import { } from '@tanstack/react-table'; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '@/components/ui/table'; import ColumnSettings from '@/components/table/table-element/column-settings'; -import GroupingsTableColumns from '@/components/table/table-element/groupings-table-columns'; + import PaginationBar from '@/components/table/table-element/pagination-bar'; import GlobalFilter from '@/components/table/table-element/global-filter'; import SortArrow from '@/components/table/table-element/sort-arrow'; import { useState } from 'react'; -import { SquarePen } from 'lucide-react'; -import GroupingPathCell from '@/components/table/table-element/grouping-path-cell'; -import Link from 'next/link'; import { useLocalStorage } from 'usehooks-ts'; import { GroupingPath } from '@/lib/types'; -import TooltipOnTruncate from '@/components/table/table-element/tooltip-on-truncate'; +import GroupingsTableColumns from '@/components/table/table-element/groupings-table-columns'; const pageSize = parseInt(process.env.NEXT_PUBLIC_PAGE_SIZE as string); @@ -49,8 +45,6 @@ const GroupingsTable = ({ groupingPaths }: { groupingPaths: GroupingPath[] }) => enableMultiSort: true }); - const columnCount = table.getHeaderGroups()[0].headers.length; - return ( <>
{value}