2024-01-20 08:16:14 -08:00
|
|
|
|
|
|
|
import StreamPage from '@/components/stream-page';
|
|
|
|
import { getStreamByCuid } from '@/lib/streams';
|
|
|
|
|
|
|
|
|
|
|
|
interface IPageParams {
|
|
|
|
params: {
|
|
|
|
cuid: string;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export default async function Page ({ params: { cuid } }: IPageParams) {
|
|
|
|
const stream = await getStreamByCuid(cuid);
|
2024-05-27 14:20:58 -08:00
|
|
|
console.log(`getting stream by cuid. cuid=${cuid}`)
|
2024-01-20 08:16:14 -08:00
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<StreamPage stream={stream} />
|
|
|
|
</>
|
|
|
|
)
|
|
|
|
}
|