diff --git a/.prettierignore b/.prettierignore index 58ad2bacf..b6d6f4433 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,6 +2,4 @@ /* # Except packages: -!/packages -!/themes -!/extensions \ No newline at end of file +!/packages \ No newline at end of file diff --git a/packages/evershop/src/components/admin/catalog/productEdit/category/CategoryItem.jsx b/packages/evershop/src/components/admin/catalog/productEdit/category/CategoryItem.jsx index 13391d975..3280379f7 100644 --- a/packages/evershop/src/components/admin/catalog/productEdit/category/CategoryItem.jsx +++ b/packages/evershop/src/components/admin/catalog/productEdit/category/CategoryItem.jsx @@ -36,7 +36,7 @@ function CategoryItem({ category, selectedCategory, setSelectedCategory }) { } return (
  • -
    +
    {!category.children && ( +
    ); } if (error) { return ( -
    +

    {error.message}

    ); } if (data.categories.items.length === 0) { return ( -
    +
    There is no category
    ); } return ( -
    +