diff --git a/src/components/Pagination/Pagination.astro b/src/components/Pagination/Pagination.astro index 68531bf6..e92e0277 100644 --- a/src/components/Pagination/Pagination.astro +++ b/src/components/Pagination/Pagination.astro @@ -1,19 +1,19 @@ --- import { Fragment } from "astro/jsx-runtime"; import "./Pagination.scss"; -const { paginator } = Astro.props; +const { pagination } = Astro.props; const adjacentLinks = 2; const maxLinks = adjacentLinks * 2 + 1; const lowerLimit = adjacentLinks + 1; -const upperLimit = paginator.totalPages - adjacentLinks; +const upperLimit = pagination.totalPages - adjacentLinks; --- { - paginator.totalPages > 1 && ( + pagination.totalPages > 1 && (