fix
parent
5694fedd92
commit
f9ed5b73d2
|
@ -58,8 +58,8 @@ const ProductRelated = ({ category, brand }) => {
|
||||||
|
|
||||||
const fetchProducts = async () => {
|
const fetchProducts = async () => {
|
||||||
const { products_connection: { nodes } } = await graphql(gql, {
|
const { products_connection: { nodes } } = await graphql(gql, {
|
||||||
categoryId: brand.documentId ? "" : category.documentId,
|
categoryId: brand?.documentId ? "" : category?.documentId,
|
||||||
brandId: brand.documentId ? brand.documentId : "",
|
brandId: brand?.documentId ? brand?.documentId : "",
|
||||||
locale: "en"
|
locale: "en"
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ const AboutUs = () => {
|
||||||
</pattern>
|
</pattern>
|
||||||
<rect width="100%" height="100%" fill="url(#diagonalLines)" />
|
<rect width="100%" height="100%" fill="url(#diagonalLines)" />
|
||||||
</svg>
|
</svg>
|
||||||
<div className=" min-h-[calc(100vh-108px)] flex flex-col items-center justify-center relative lg:-mt-16 mt-8 -z-10 text-center ">
|
<div className="min-h-[calc(100vh-108px)] flex flex-col items-center justify-center relative mt-8 -z-10 text-center ">
|
||||||
<div className="max-w-screen-xl mx-auto">
|
<div className="max-w-screen-xl mx-auto">
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue