refactor(inventory card): changed to 500 by default so we can scroll
This commit is contained in:
@@ -39,7 +39,7 @@ export function InvTable<TData, TValue>({
|
|||||||
const [sorting, setSorting] = useState<SortingState>([]);
|
const [sorting, setSorting] = useState<SortingState>([]);
|
||||||
const [pagination, setPagination] = useState({
|
const [pagination, setPagination] = useState({
|
||||||
pageIndex: 0, //initial page index
|
pageIndex: 0, //initial page index
|
||||||
pageSize: 5, //default page size
|
pageSize: 500, //default page size
|
||||||
});
|
});
|
||||||
const table = useReactTable({
|
const table = useReactTable({
|
||||||
data,
|
data,
|
||||||
|
|||||||
Reference in New Issue
Block a user