fix: increase the max items count.

This commit is contained in:
a.bouhuolia
2021-03-09 13:17:34 +02:00
parent 8f95b09649
commit 2494a33d21
6 changed files with 11 additions and 12 deletions

View File

@@ -30,13 +30,13 @@ function ReceiptFormProvider({ receiptId, ...props }) {
const {
data: { customers },
isFetching: isCustomersLoading,
} = useCustomers();
} = useCustomers({ page_size: 10000 });
// Handle fetch Items data table or list
const {
data: { items },
isFetching: isItemsLoading,
} = useItems();
} = useItems({ page_size: 10000 });
// Fetch receipt settings.
const { isLoading: isSettingLoading } = useSettings();