@open-mercato/ui 0.6.8-develop.6910.1.560e304de2 → 0.6.8-develop.6912.1.36161dc9ac

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,8 @@
2
2
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import { useRouter } from "next/navigation";
5
- import { useReactTable, getCoreRowModel, getSortedRowModel, flexRender } from "@tanstack/react-table";
5
+ import { flexRender } from "@tanstack/react-table";
6
+ import { useLegacyTable, getCoreRowModel, getSortedRowModel } from "@tanstack/react-table/legacy";
6
7
  import { useQuery, useMutation, useQueryClient } from "@tanstack/react-query";
7
8
  import { RefreshCw, Loader2, SlidersHorizontal, MoreHorizontal, Circle, Filter, ChevronUp, ChevronDown, ChevronsUpDown, Check, Inbox } from "lucide-react";
8
9
  import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "../primitives/table.js";
@@ -1159,7 +1160,7 @@ function DataTable({
1159
1160
  const [rowSelection, setRowSelection] = React.useState({});
1160
1161
  const selectionScopeKeyRef = React.useRef(selectionScopeKey);
1161
1162
  const enableClientSorting = sortable && !manualSorting;
1162
- const table = useReactTable({
1163
+ const table = useLegacyTable({
1163
1164
  data: clientFilteredData,
1164
1165
  columns: mergedColumns,
1165
1166
  getCoreRowModel: getCoreRowModel(),