mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
Links and data fetching for dynamic routes
This commit is contained in:
@@ -81,7 +81,7 @@ export default function ProductView({ product, relatedProducts }: ProductViewPro
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{relatedProducts.length > 0 && (
|
||||
{relatedProducts && relatedProducts.length > 0 && (
|
||||
<Suspense>
|
||||
<section className="my-16 flex flex-col lg:my-24">
|
||||
<Text className="px-4 lg:px-8 2xl:px-16" variant="sectionHeading">
|
||||
|
Reference in New Issue
Block a user