Skip to content

Commit

Permalink
[EuiPagination] Add keys for i18n values in compressed count
Browse files Browse the repository at this point in the history
I was not able to reproduce the error outside Kibana, nor determine
the real cause of it, see elastic/kibana#202287
  • Loading branch information
acstll committed Dec 17, 2024
1 parent 1462a7f commit 8a4475e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eui/src/components/pagination/pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ export const EuiPagination: FunctionComponent<Props> = ({
token="euiPagination.pageOfTotalCompressed"
default="{page} of {total}"
values={{
page: <span>{activePage + 1}</span>,
total: <span>{pageCount}</span>,
page: <span key="activePage">{activePage + 1}</span>,
total: <span key="pageCount">{pageCount}</span>,
}}
/>
</EuiText>
Expand Down

0 comments on commit 8a4475e

Please sign in to comment.