avoid layout shifts on event index page

This commit is contained in:
2026-07-05 12:53:53 +02:00
parent b46320ea94
commit 39364b5023
3 changed files with 18 additions and 11 deletions
+6 -1
View File
@@ -18,7 +18,12 @@ export async function generateMetadata(
return getSeoMetadata(data.index as EventIndexFragment, parent);
}
export default async function Page() {
export default async function Page({
searchParams,
}: {
searchParams?: Promise<Record<string, string | string[] | undefined>>;
}) {
await searchParams;
const props = await loadEventIndexProps();
return <EventIndexView {...props} />;
}