import VodsList from '@/app/components/vods-list'; import { getVods } from '@/app/lib/vods'; import Pager from '@/app/components/pager'; interface IPageParams { params: { page: number; }; } export default async function Page({ params: { page } }: IPageParams) { const pageSize = 24 const { count, vods } = await getVods(page, pageSize, true); return ( <>
page {page}