Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
fix: modify implicitly any
Browse files Browse the repository at this point in the history
  • Loading branch information
jspark2000 committed Mar 25, 2024
1 parent e6c79d8 commit d685097
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ export default function AttendanceCheckCarousel({
}, [api])

const handleNextClick = async () => {
if (!api) {
return
}

api.scrollNext()

const currentIdx = (api.selectedScrollSnap() + 1) as number
if (
currentIdx % PAGINATION_LIMIT === 0 &&
Expand Down

0 comments on commit d685097

Please sign in to comment.