feat: 広場のページネーション(#169) #189
@@ -45,7 +45,7 @@ export default () => {
|
||||
.map (post => [post.id, post])))
|
||||
.values ())]))
|
||||
setCursor (data.nextCursor)
|
||||
setTotalPages (Math.trunc ((data.count - 1) / limit))
|
||||
setTotalPages (Math.ceil (data.count / limit))
|
||||
|
||||
setLoading (false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user