Update data-table.tsx
This commit is contained in:
parent
ea97a7a075
commit
ab551a3ece
|
@ -126,7 +126,6 @@ export function DataTable<TData extends RowData>({
|
||||||
const [lastSelected, setLastSelected] = useState<string | null>(null);
|
const [lastSelected, setLastSelected] = useState<string | null>(null);
|
||||||
|
|
||||||
const table = useDataTable({ ...restProps });
|
const table = useDataTable({ ...restProps });
|
||||||
console.log(table);
|
|
||||||
|
|
||||||
const isPaginationEnabled = typeof table.getCanNextPage === 'function';
|
const isPaginationEnabled = typeof table.getCanNextPage === 'function';
|
||||||
const isEmpty = table.getRowModel().rows.length === 0;
|
const isEmpty = table.getRowModel().rows.length === 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user