Skip to content

Commit

Permalink
Fix prop types in Pagination Component
Browse files Browse the repository at this point in the history
  • Loading branch information
DysphoricUnicorn committed Dec 4, 2024
1 parent 1b607ea commit c3fb027
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/components/Pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import PaginationButtons from './Styled/Pagination/PaginationButtons';

type PaginationProps = {
page: number,
setPage: React.Dispatch<React.SetStateAction<number>> | (() => void),
setPage: React.Dispatch<React.SetStateAction<number>> | ((page: number) => void),
entriesPerPage: number,
setEntriesPerPage: (page: number) => void,
setEntriesPerPage: React.Dispatch<React.SetStateAction<number>> | ((page: number) => void),
entryCount: number,
localStrings: LocalStrings,
}
Expand Down

0 comments on commit c3fb027

Please sign in to comment.