optimization
This commit is contained in:
parent
8bb27affa0
commit
6fb804701c
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ const getWallPage = async page => {
|
||||||
posts: {}
|
posts: {}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (page === 0) {
|
if (page === 0 || totalPages === 0) {
|
||||||
return empty
|
return empty
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue