Remove console.log statement

This commit is contained in:
Andrew Kingston 2020-10-13 09:47:12 +01:00
parent fc870c0dc9
commit 2641b781f9
1 changed files with 1 additions and 2 deletions

View File

@ -24,8 +24,7 @@
}
function getPagesAroundCurrent(current, max) {
console.log(current)
const start = Math.max(current - 2, 1)
giat const start = Math.max(current - 2, 1)
const end = Math.min(current + 2, max - 2)
let pages = []
for (let i = start; i <= end; i++) {