Created
January 20, 2021 15:39
-
-
Save ArtemRomanovsky/9883c545f978be238fb242709f47465a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const allData = [...{{state.allData}}]; | |
const page = {{state.offSet}}; | |
const limit = {{state.limit}}; | |
return allData.slice(page * limit, page * limit + limit); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment