CJ_Clippy 287321bb1e
Some checks failed
ci / build (push) Has been cancelled
differentiate services vs packages
2024-07-27 16:42:09 -08:00

13 lines
385 B
TypeScript

import VodPage from '@/app/components/vod-page'
import { IVodPageProps, getVodFromSafeDateOrCuid } from '@/app/lib/vods'
import { notFound } from 'next/navigation';
export default async function Page({ params: { safeDateOrCuid } }: IVodPageProps) {
const vod = await getVodFromSafeDateOrCuid(safeDateOrCuid);
if (!vod) return notFound();
return <VodPage vod={vod} />
}