import { Stream } from '@/components/stream'; import { IStream, getStreamForVtuber } from '@/lib/streams'; import { getVtuberBySlug } from '@/lib/vtubers'; import NotFound from '../../not-found'; interface IPageProps { params: { safeDate: string; slug: string; }; } export default async function Page({ params: { safeDate, slug } }: IPageProps) { const vtuber = await getVtuberBySlug(slug); if (!vtuber) return const stream = await getStreamForVtuber(vtuber.id, safeDate); if (!stream) return return (

Stream Page!

slug={slug} safeDate={safeDate}

) }