diff --git a/src/app/(static)/page.tsx b/src/app/(static)/page.tsx index 82503125..22ccedd0 100644 --- a/src/app/(static)/page.tsx +++ b/src/app/(static)/page.tsx @@ -19,7 +19,7 @@ export default async function HomePage({ }: { searchParams: { next: string }; }) { - const { offset, limit } = getPhotosLimitForQuery(searchParams.next); + const { offset, limit } = getPhotosLimitForQuery(searchParams.next, 12); const photos = await getPhotos(undefined, limit); @@ -31,7 +31,7 @@ export default async function HomePage({ photos.length > 0 ?