Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix render loop
dominik-zeglenc5f2a4ee6ce7
diff --git a/saleor/static/dashboard-next/customers/views/CustomerList.tsx b/saleor/static/dashboard-next/customers/views/CustomerList.tsxindex 3231dc9edc..43fdd051b1 100644--- a/saleor/static/dashboard-next/customers/views/CustomerList.tsx+++ b/saleor/static/dashboard-next/customers/views/CustomerList.tsx@@ -45,7 +45,8 @@ export const CustomerList: React.StatelessComponent<CustomerListProps> = ({onAdd={() => navigate(customerAddUrl)}onNextPage={loadNextPage}onPreviousPage={loadPreviousPage}- onRowClick={id => navigate(customerUrl(encodeURIComponent(id)))}+ onRowClick={id => () =>+ navigate(customerUrl(encodeURIComponent(id)))}/>);}}