teecup/frontend/app/my-rounds/[id]/scorecard/page.tsx

20 lines
682 B
TypeScript

import { RoundPageShell } from "@/components/round-page-shell"
import { RoundScorecard } from "@/components/round-scorecard"
import { RoundStats } from "@/components/round-stats"
// Scorekort + Statistikk slått sammen til ÉN side (ADR-040 Beslutning D,
// "det store grepet") -- statistikk RETT UNDER scorekortet, delt header/
// fane-rad via RoundPageShell.
export default async function RoundScorecardPage({
params,
}: {
params: Promise<{ id: string }>
}) {
const { id } = await params
return (
<RoundPageShell roundId={id} activeTab="scorecard">
<RoundScorecard roundId={id} embedded />
<RoundStats roundId={id} embedded />
</RoundPageShell>
)
}