mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Update dependencies and fix TS errors. (#1041)
This commit is contained in:
@@ -97,7 +97,6 @@ export default async function ProductPage({ params }: { params: { handle: string
|
||||
</div>
|
||||
|
||||
<div className="p-6 lg:col-span-2">
|
||||
{/* @ts-expect-error Server Component */}
|
||||
<VariantSelector options={product.options} variants={product.variants} />
|
||||
|
||||
{product.descriptionHtml ? (
|
||||
@@ -108,10 +107,8 @@ export default async function ProductPage({ params }: { params: { handle: string
|
||||
</div>
|
||||
</div>
|
||||
<Suspense>
|
||||
{/* @ts-expect-error Server Component */}
|
||||
<RelatedProducts id={product.id} />
|
||||
<Suspense>
|
||||
{/* @ts-expect-error Server Component */}
|
||||
<Footer />
|
||||
</Suspense>
|
||||
</Suspense>
|
||||
|
Reference in New Issue
Block a user