optimization

This commit is contained in:
Daniel Lugo 2020-06-24 17:01:20 -04:00
parent 8bb27affa0
commit 6fb804701c

View file

@ -33,7 +33,7 @@ const getWallPage = async page => {
posts: {}
}
if (page === 0) {
if (page === 0 || totalPages === 0) {
return empty
}