diff --git a/frontend/src/Pages/picpagination.tsx b/frontend/src/Pages/picpagination.tsx index c1b221b342028d2b91140bcc7c8d0821e0dd70c2..09a477791e06ca6c87446bacaf1b8fb45fb29108 100644 --- a/frontend/src/Pages/picpagination.tsx +++ b/frontend/src/Pages/picpagination.tsx @@ -1,14 +1,15 @@ import React from "react"; type num = { - total: number, + // total: number, page: number, setPage: Function } -export default function Pagination ({total, page, setPage} : num) { - const numPages = Math.ceil(total / 15); - +// export function PaginationLeft ({total, page, setPage} : num) { + // const numPages = Math.ceil(total / 15); +export function PaginationLeft ({ page, setPage} : num) { + const numPages = 3 return (
{pic.name}
+{pic.name}
+