Customers, arreglos
This commit is contained in:
parent
ee97a5800b
commit
5bde207188
@ -8,7 +8,6 @@ import type { CustomerList, CustomerListRow } from "../../../../shared";
|
||||
interface CustomersGridProps {
|
||||
data?: CustomerList;
|
||||
loading: boolean;
|
||||
fetching?: boolean;
|
||||
|
||||
columns: ColumnDef<CustomerListRow, unknown>[];
|
||||
|
||||
@ -23,7 +22,6 @@ interface CustomersGridProps {
|
||||
export const CustomersGrid = ({
|
||||
data,
|
||||
loading,
|
||||
fetching,
|
||||
columns,
|
||||
pageIndex,
|
||||
pageSize,
|
||||
|
||||
@ -42,7 +42,6 @@ export const ListCustomersPage = () => {
|
||||
<CustomersGrid
|
||||
columns={columns}
|
||||
data={listCtrl.data}
|
||||
fetching={listCtrl.isFetching}
|
||||
loading={listCtrl.isLoading}
|
||||
onPageChange={listCtrl.setPageIndex}
|
||||
onPageSizeChange={listCtrl.setPageSize}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user