Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
imhson committed Oct 18, 2024
1 parent 33667e2 commit c072645
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/events/ava-2024/map/manga-room/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function Page() {
}
}, [data?.data?.data?.story_manga])
const mangas = data?.data?.data?.story_manga
const count = Math.ceil((data?.data?.data?.story_manga_aggregate?.aggregate?.count || 1) / 9)
const count = Math.ceil((data?.data?.data?.story_manga_aggregate?.aggregate?.count || 1) / 6)
return (
<>
<div
Expand Down
2 changes: 1 addition & 1 deletion src/services/eventService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const eventService = {
await privateAxios.post(`${getConfig().REST_API_URL}/story-event/submission/manga`, payload),
getManga: async (page) =>
await privateAxios.get(
`${getConfig().REST_API_URL}/story-event/manga?limit=9&offset=${(page - 1) * 9}`
`${getConfig().REST_API_URL}/story-event/manga?limit=6&offset=${(page - 1) * 6}`
),
},
}

0 comments on commit c072645

Please sign in to comment.