Update dependencies and fix TS errors. (#1041)

This commit is contained in:
Lee Robinson
2023-06-06 18:36:44 -07:00
committed by GitHub
parent 7de01c40b9
commit fecc60eb36
10 changed files with 281 additions and 290 deletions

View File

@@ -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>