Browse Source

#169 バグ修正

pull/189/head
みてるぞ 1 week ago
parent
commit
1c75f2b68d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frontend/src/pages/posts/PostListPage.tsx

+ 1
- 1
frontend/src/pages/posts/PostListPage.tsx View File

@@ -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)
}


Loading…
Cancel
Save