diff --git a/src/components/Product/ProductRelated.jsx b/src/components/Product/ProductRelated.jsx index 6a6874d..41c29e0 100644 --- a/src/components/Product/ProductRelated.jsx +++ b/src/components/Product/ProductRelated.jsx @@ -58,8 +58,8 @@ const ProductRelated = ({ category, brand }) => { const fetchProducts = async () => { const { products_connection: { nodes } } = await graphql(gql, { - categoryId: brand.documentId ? "" : category.documentId, - brandId: brand.documentId ? brand.documentId : "", + categoryId: brand?.documentId ? "" : category?.documentId, + brandId: brand?.documentId ? brand?.documentId : "", locale: "en" }) diff --git a/src/view/Landing/components/AboutUs.jsx b/src/view/Landing/components/AboutUs.jsx index db103ca..7fb0182 100644 --- a/src/view/Landing/components/AboutUs.jsx +++ b/src/view/Landing/components/AboutUs.jsx @@ -14,7 +14,7 @@ const AboutUs = () => { -
+