import { getVtuberBySlug } from '@/lib/vtubers'; import { getStreamsForVtuber } from '@/lib/streams'; import Pager from '@/components/pager'; import { notFound } from 'next/navigation'; interface IPageParams { params: { slug: string; } } export default async function Page({ params }: IPageParams) { const vtuber = await getVtuberBySlug(params.slug); if (!vtuber) return

vtuber {params.slug} not found

const streams = await getStreamsForVtuber(vtuber.id, 1, 24); if (!streams) return

streams not found

; return ( <> ) }