Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Weedshaker committed Mar 7, 2023
1 parent c4f919c commit 6b1e640
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/es/components/molecules/Pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,8 @@ export default class Pagination extends HTMLElement {
this.showYourFeed = query.showYourFeed || false
const offset = query.offset || 0
let pageItems = ''
let counter = 0
for (let i = 0; i < Math.ceil(multipleArticles.articlesCount / Environment.articlesPerPageLimit); ++i) {
pageItems += `<li class="page-item ${i === offset / Environment.articlesPerPageLimit ? 'active' : ''}"><a class="page-link" href="">${i + 1}</a></li>`
counter++
}
if (pageItems) {
this.innerHTML = `
Expand Down

0 comments on commit 6b1e640

Please sign in to comment.