infiniteScroll and ReactLoading libs implemented

This commit is contained in:
Cassio Santos
2020-06-04 08:56:35 -03:00
parent 2169e2b6e8
commit afaec2b3c6
8 changed files with 202 additions and 158 deletions

View File

@@ -48,7 +48,7 @@ exports.getContactMessages = async (req, res, next) => {
),
};
let limit = 10;
let limit = 20;
let offset = limit * (pageNumber - 1);
try {