Updated TypeScript to resolve async RSC error

This commit is contained in:
Henrik Larsson
2023-08-09 14:34:10 +02:00
parent 5e1571e621
commit 336ae78a4b
7 changed files with 1197 additions and 1602 deletions

View File

@@ -39,7 +39,6 @@ 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>