Skip to content

Commit

Permalink
ReviewImage total을 알기 위한 fetch에서는 size 1 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
guswl98 committed Aug 8, 2024
1 parent a2f6adb commit a0c7e78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function useFetchImages() {
})
const poiReviewsResponse = await fetchPoiReviewImages(target, {
from: currentImageLength - totalContentImagesCount,
size,
size: 1,
categoryOrder,
})
setTotalContentImagesCount(poiResponse.total)
Expand Down

0 comments on commit a0c7e78

Please sign in to comment.