Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Unify code
dominik-zeglen1dd69d223936
diff --git a/saleor/static/dashboard-next/components/ProductList/ProductList.tsx b/saleor/static/dashboard-next/components/ProductList/ProductList.tsxindex 23cb287495..e5238ed76e 100644--- a/saleor/static/dashboard-next/components/ProductList/ProductList.tsx+++ b/saleor/static/dashboard-next/components/ProductList/ProductList.tsx@@ -9,7 +9,7 @@ import TableBody from "@material-ui/core/TableBody";import TableCell from "@material-ui/core/TableCell";import TableFooter from "@material-ui/core/TableFooter";import TableRow from "@material-ui/core/TableRow";-import React, { useCallback } from "react";+import React from "react";import TableCellAvatar, {AVATAR_MARGIN@@ -97,7 +97,7 @@ export const ProductList = withStyles(styles, { name: "ProductList" })(onUpdateListSettings,onRowClick}: ProductListProps) => {- const displayColumn = useCallback(+ const displayColumn = React.useCallback((column: ProductListColumns) =>isSelected(column, settings.columns, (a, b) => a === b),[settings.columns]