Skip to content

Commit

Permalink
fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
audisaudisaudis committed Jan 28, 2025
1 parent fbf45b2 commit 76341c3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default function SearchPagination({ searchResult, resultsPerPage }: Searc
const totalPages = Math.ceil(
searchResult.totalAds < 10000 ? searchResult.totalAds / resultsPerPage : 9999 / resultsPerPage,
);

const page = searchParams.has(QueryNames.FROM)
? Math.floor(parseInt(searchParams.get(QueryNames.FROM)!, 10) / resultsPerPage) + 1
: 1;
Expand Down

0 comments on commit 76341c3

Please sign in to comment.