Skip to content

Commit

Permalink
Moving key to first prop declaration for clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
1Copenut committed Sep 14, 2023
1 parent d962054 commit 0a1e8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/table/table_pagination/table_pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ export const EuiTablePagination: FunctionComponent<EuiTablePaginationProps> = (
() =>
itemsPerPageOptions.map((itemsPerPageOption) => (
<EuiContextMenuItem
key={itemsPerPageOption}
icon={itemsPerPageOption === itemsPerPage ? 'check' : 'empty'}
aria-current={
itemsPerPageOption === itemsPerPage ? 'true' : undefined
}
key={itemsPerPageOption}
onClick={() => {
closePopover();
onChangeItemsPerPage?.(itemsPerPageOption);
Expand Down

0 comments on commit 0a1e8c6

Please sign in to comment.