Skip to content

Commit

Permalink
fix(pagination): Remove unecessary key prefix when rendering Paginati…
Browse files Browse the repository at this point in the history
…onItem
  • Loading branch information
diegonvs committed Jul 23, 2019
1 parent ce69f64 commit ccb0361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/clay-pagination/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const ClayPagination: React.FunctionComponent<IProps> = ({
href={
hrefConstructor && hrefConstructor(page as number)
}
key={`page${index}` as string}
key={page as number}
onClick={() =>
onPageChange && onPageChange(page as number)
}
Expand Down

0 comments on commit ccb0361

Please sign in to comment.