fix: remove unnecessary @ts-expect-error in page.tsx

Next.js 14 types correctly handle async server components — the
directive was unused and caused a type error during build.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
AJ Avezzano
2026-04-01 11:25:26 -04:00
parent 5ffb8a190f
commit 2d12160e39

View File

@@ -72,7 +72,6 @@ export default function HomePage({ searchParams }: PageProps) {
<p className="mt-8 text-center text-zinc-500 animate-pulse">Searching</p> <p className="mt-8 text-center text-zinc-500 animate-pulse">Searching</p>
} }
> >
{/* @ts-expect-error async server component */}
<SearchResults q={q} /> <SearchResults q={q} />
</Suspense> </Suspense>
)} )}