return index
This commit is contained in:
parent
688a4c3cdb
commit
66997a8ba0
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ const calculateFeedPage = (numberOfPublicKeyGroups, pageRequested) => {
|
|||
// thanks to sebassdc
|
||||
|
||||
return [
|
||||
((pageRequested - 1) % numberOfPublicKeyGroups) + 1,
|
||||
(pageRequested - 1) % numberOfPublicKeyGroups,
|
||||
Math.ceil(pageRequested / numberOfPublicKeyGroups)
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue