Removes unnecessary async on ProductGridItems (#977)

This commit is contained in:
Michael Novotny
2023-04-20 13:54:04 -05:00
committed by GitHub
parent acb4ff400b
commit 7de3ae5583
4 changed files with 1 additions and 4 deletions

View File

@@ -105,7 +105,6 @@ async function RelatedProducts({ id }: { id: string }) {
<div className="px-4 py-8">
<div className="mb-4 text-3xl font-bold">Related Products</div>
<Grid className="grid-cols-2 lg:grid-cols-5">
{/* @ts-expect-error Server Component */}
<ProductGridItems products={relatedProducts} />
</Grid>
</div>