import { getVtuberBySlug } from '@/app/lib/vtubers'; import { getStreamsForVtuber } from '@/app/lib/streams'; import Pager from '@/app/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 ( <> ) }