Update data-table.tsx

This commit is contained in:
Ivan 2025-03-12 22:40:29 +03:00
parent ea97a7a075
commit ab551a3ece

View File

@ -126,7 +126,6 @@ export function DataTable<TData extends RowData>({
const [lastSelected, setLastSelected] = useState<string | null>(null);
const table = useDataTable({ ...restProps });
console.log(table);
const isPaginationEnabled = typeof table.getCanNextPage === 'function';
const isEmpty = table.getRowModel().rows.length === 0;