Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Load empty state
dominik-zeglen6fa166b59e69
diff --git a/saleor/static/dashboard-next/products/containers/CategorySearch.tsx b/saleor/static/dashboard-next/products/containers/CategorySearch.tsxindex 75bdd199af..e60f01ebf3 100644--- a/saleor/static/dashboard-next/products/containers/CategorySearch.tsx+++ b/saleor/static/dashboard-next/products/containers/CategorySearch.tsx@@ -28,10 +28,7 @@ export class CategorySearchProvider extends React.Component<render() {return (- <TypedCategorySearchQuery- variables={{ query: this.state.query }}- skip={!this.state.query}- >+ <TypedCategorySearchQuery variables={{ query: this.state.query }}>{searchOpts => this.props.children({ search: this.search, searchOpts })}</TypedCategorySearchQuery>);diff --git a/saleor/static/dashboard-next/products/containers/CollectionSearch.tsx b/saleor/static/dashboard-next/products/containers/CollectionSearch.tsxindex 53886bb188..62e7ff1111 100644--- a/saleor/static/dashboard-next/products/containers/CollectionSearch.tsx+++ b/saleor/static/dashboard-next/products/containers/CollectionSearch.tsx@@ -28,10 +28,7 @@ export class CollectionSearchProvider extends React.Component<render() {return (- <TypedCollectionSearchQuery- variables={{ query: this.state.query }}- skip={!this.state.query}- >+ <TypedCollectionSearchQuery variables={{ query: this.state.query }}>{searchOpts => this.props.children({ search: this.search, searchOpts })}</TypedCollectionSearchQuery>);