21 lines
444 B
TypeScript
21 lines
444 B
TypeScript
|
|
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} />
|
|
</>
|
|
)
|
|
} |