import VodsList from '@/components/vods-list'; import { getVods } from '@/lib/vods'; import Pager from '@/components/pager'; interface IPageParams { params: { page: number; }; } export default async function Page({ params: { page } }: IPageParams) { let vods; try { vods = await getVods(page, 24, true); } catch (error) { console.error("An error occurred:", error); return
page {page}