feat: adjust pagination delta

This commit is contained in:
Damillora 2022-04-15 03:42:56 +07:00
parent 316e52cb72
commit afbdc56b71

View File

@ -4,7 +4,7 @@
const paginate = (c, m) => {
let current = c,
last = m,
delta = 2,
delta = 1,
left = current - delta,
right = current + delta + 1,
range = [],