Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove debug code
dominik-zeglenbb8c4f214736
diff --git a/saleor/static/dashboard-next/products/components/ProductListFilter/ProductListFilter.tsx b/saleor/static/dashboard-next/products/components/ProductListFilter/ProductListFilter.tsxindex 189be0edd7..ad1b64e5bb 100644--- a/saleor/static/dashboard-next/products/components/ProductListFilter/ProductListFilter.tsx+++ b/saleor/static/dashboard-next/products/components/ProductListFilter/ProductListFilter.tsx@@ -115,10 +115,7 @@ const ProductListFilter: React.StatelessComponent<ProductListFilterProps> = ({onFilterDelete}) => {const [search, setSearch] = React.useState(initialSearch);- React.useEffect(- () => console.log(initialSearch) || setSearch(initialSearch),- [currentTab, initialSearch]- );+ React.useEffect(() => setSearch(initialSearch), [currentTab, initialSearch]);const filterTabs = getFilterTabs();