Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Use default pagination
dominik-zeglenbed5e6450d51
diff --git a/saleor/static/dashboard-next/orders/views/OrderList/OrderList.tsx b/saleor/static/dashboard-next/orders/views/OrderList/OrderList.tsxindex 729526ef3c..3c8991eef4 100644--- a/saleor/static/dashboard-next/orders/views/OrderList/OrderList.tsx+++ b/saleor/static/dashboard-next/orders/views/OrderList/OrderList.tsx@@ -5,6 +5,7 @@ import DeleteFilterTabDialog from "@saleor/components/DeleteFilterTabDialog";import SaveFilterTabDialog, {SaveFilterTabDialogFormData} from "@saleor/components/SaveFilterTabDialog";+import { PAGINATE_BY } from "@saleor/config";import useBulkActions from "@saleor/hooks/useBulkActions";import useDateLocalize from "@saleor/hooks/useDateLocalize";import useNavigator from "@saleor/hooks/useNavigator";@@ -46,8 +47,6 @@ interface OrderListProps {params: OrderListUrlQueryParams;}-const PAGINATE_BY = 20;-export const OrderList: React.StatelessComponent<OrderListProps> = ({params}) => {