Skip to content

Commit

Permalink
proper event handler for onClick of buildComponentData
Browse files Browse the repository at this point in the history
  • Loading branch information
VanAnderson committed Feb 12, 2021
1 parent b151dfa commit 8fb049d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pagination/model.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ type PageType = {
export function buildComponentData(
page: PageType,
hrefBuilder: (n: number) => string,
onClick: (e: MouseEventHandler) => void
onClick: (e: React.MouseEvent) => void
) {
const props = {}
let content = ''
Expand Down

0 comments on commit 8fb049d

Please # to comment.