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

21 lines
682 B
TypeScript
Raw Normal View History

2026-08-02 16:34:54 +02:00
import { RoundPageShell } from "@/components/round-page-shell"
import { RoundScorecard } from "@/components/round-scorecard"
2026-08-02 16:34:54 +02:00
import { RoundStats } from "@/components/round-stats"
2026-08-02 16:34:54 +02:00
// 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
2026-08-02 16:34:54 +02:00
return (
<RoundPageShell roundId={id} activeTab="scorecard">
<RoundScorecard roundId={id} embedded />
<RoundStats roundId={id} embedded />
</RoundPageShell>
)
}