import type { Metadata } from "next"; import { ReplayPlayerLoader } from "@/components/recordings/ReplayPlayerLoader"; import { getRecordingName } from "@/lib/db/queries/recordings"; export async function generateMetadata({ params }: { params: Promise<{ id: string }> }): Promise { const { id } = await params; const name = await getRecordingName(Number(id)); return { title: name ? `Replay ${name}` : "Replay" }; } export default async function ReplayPage({ params }: { params: Promise<{ id: string }> }) { const { id } = await params; return (

Replay

); }