feat: 広場のページネーション(#169) #189

Merged
みてるぞ merged 4 commits from feature/169 into main 2025-12-30 11:13:04 +09:00
Showing only changes of commit 1c75f2b68d - Show all commits
+1 -1
View File
@@ -45,7 +45,7 @@ export default () => {
.map (post => [post.id, post]))) .map (post => [post.id, post])))
.values ())])) .values ())]))
setCursor (data.nextCursor) setCursor (data.nextCursor)
setTotalPages (Math.trunc ((data.count - 1) / limit)) setTotalPages (Math.ceil (data.count / limit))
setLoading (false) setLoading (false)
} }