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} />
|
||||
<Suspense>
|
||||
{/* @ts-expect-error Server Component (https://github.com/vercel/next.js/issues/42292) */}
|
||||
<Footer locale={params.locale} />
|
||||
</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">
|
||||
<Text variant={'pageHeading'}>{title}</Text>
|
||||
<Suspense>
|
||||
{/* @ts-expect-error Server Component (https://github.com/vercel/next.js/issues/42292) */}
|
||||
<Footer locale={params.locale} />
|
||||
</Suspense>
|
||||
</div>
|
||||
|
@ -35,6 +35,7 @@ export default async function HomePage({ params }: HomePageParams) {
|
||||
<>
|
||||
<DynamicContentManager content={data?.content} />
|
||||
<Suspense>
|
||||
{/* @ts-expect-error Server Component (https://github.com/vercel/next.js/issues/42292) */}
|
||||
<Footer locale={params.locale} />
|
||||
</Suspense>
|
||||
</>
|
||||
|
@ -87,6 +87,7 @@ export default async function ProductPage({ params }: ProductPageParams) {
|
||||
/>
|
||||
<ProductView product={product} relatedProducts={[]} />
|
||||
<Suspense>
|
||||
{/* @ts-expect-error Server Component (https://github.com/vercel/next.js/issues/42292) */}
|
||||
<Footer locale={params.locale} />
|
||||
</Suspense>
|
||||
</>
|
||||
|
Loading…
x
Reference in New Issue
Block a user