mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 14:06:59 +00:00
Added typescript expect error
This commit is contained in:
parent
5c8beb1801
commit
5e1571e621
@ -79,6 +79,7 @@ export default async function Page({ params }: PageParams) {
|
|||||||
<>
|
<>
|
||||||
<DynamicContentManager content={page?.content} />
|
<DynamicContentManager content={page?.content} />
|
||||||
<Suspense>
|
<Suspense>
|
||||||
|
{/* @ts-expect-error Server Component (https://github.com/vercel/next.js/issues/42292) */}
|
||||||
<Footer locale={params.locale} />
|
<Footer locale={params.locale} />
|
||||||
</Suspense>
|
</Suspense>
|
||||||
</>
|
</>
|
||||||
|
@ -39,6 +39,7 @@ export default async function ProductPage({ params }: CategoryPageParams) {
|
|||||||
<div className="mb-8 flex w-full flex-col px-4 lg:my-16 lg:px-8 2xl:px-16">
|
<div className="mb-8 flex w-full flex-col px-4 lg:my-16 lg:px-8 2xl:px-16">
|
||||||
<Text variant={'pageHeading'}>{title}</Text>
|
<Text variant={'pageHeading'}>{title}</Text>
|
||||||
<Suspense>
|
<Suspense>
|
||||||
|
{/* @ts-expect-error Server Component (https://github.com/vercel/next.js/issues/42292) */}
|
||||||
<Footer locale={params.locale} />
|
<Footer locale={params.locale} />
|
||||||
</Suspense>
|
</Suspense>
|
||||||
</div>
|
</div>
|
||||||
|
@ -35,6 +35,7 @@ export default async function HomePage({ params }: HomePageParams) {
|
|||||||
<>
|
<>
|
||||||
<DynamicContentManager content={data?.content} />
|
<DynamicContentManager content={data?.content} />
|
||||||
<Suspense>
|
<Suspense>
|
||||||
|
{/* @ts-expect-error Server Component (https://github.com/vercel/next.js/issues/42292) */}
|
||||||
<Footer locale={params.locale} />
|
<Footer locale={params.locale} />
|
||||||
</Suspense>
|
</Suspense>
|
||||||
</>
|
</>
|
||||||
|
@ -87,6 +87,7 @@ export default async function ProductPage({ params }: ProductPageParams) {
|
|||||||
/>
|
/>
|
||||||
<ProductView product={product} relatedProducts={[]} />
|
<ProductView product={product} relatedProducts={[]} />
|
||||||
<Suspense>
|
<Suspense>
|
||||||
|
{/* @ts-expect-error Server Component (https://github.com/vercel/next.js/issues/42292) */}
|
||||||
<Footer locale={params.locale} />
|
<Footer locale={params.locale} />
|
||||||
</Suspense>
|
</Suspense>
|
||||||
</>
|
</>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user