diff --git a/js/apps/admin-ui/src/components/table-toolbar/PaginatingTableToolbar.tsx b/js/apps/admin-ui/src/components/table-toolbar/PaginatingTableToolbar.tsx index d128e4ea88..672aed09f4 100644 --- a/js/apps/admin-ui/src/components/table-toolbar/PaginatingTableToolbar.tsx +++ b/js/apps/admin-ui/src/components/table-toolbar/PaginatingTableToolbar.tsx @@ -4,6 +4,7 @@ import { ToolbarItem, } from "@patternfly/react-core"; import { PropsWithChildren, ReactNode } from "react"; +import { useTranslation } from "react-i18next"; import { TableToolbar } from "./TableToolbar"; @@ -37,10 +38,14 @@ const KeycloakPagination = ({ onPreviousClick, onPerPageSelect, }: KeycloakPaginationProps) => { + const { t } = useTranslation("user-federation"); const page = Math.round(first / max); return ( (