fp/services/next/app/archive/[uuid]/page.tsx

21 lines
444 B
TypeScript
Raw Normal View History

2024-12-16 20:39:23 +00:00
import StreamPage from '@/app/components/stream-page';
import { getStreamByUUID } from '@/app/lib/streams';
interface IPageParams {
params: {
uuid: string;
}
}
export default async function Page ({ params: { uuid } }: IPageParams) {
const stream = await getStreamByUUID(uuid);
console.log(`getting stream by uuid. uuid=${uuid}`)
return (
<>
<StreamPage stream={stream} />
</>
)
}