website refactor

This commit is contained in:
2026-01-17 01:04:36 +01:00
parent 8ba46e96a6
commit 75ffe0798e
40 changed files with 267 additions and 321 deletions

View File

@@ -9,9 +9,9 @@ export default async function LeagueLayout({
params,
}: {
children: React.ReactNode;
params: { id: string };
params: Promise<{ id: string }>;
}) {
const leagueId = params.id;
const { id: leagueId } = await params;
// Execute PageQuery to get league data
const result = await LeagueDetailPageQuery.execute(leagueId);