diff --git a/frontend/packages/knative-plugin/src/components/eventing/channels-list/ChannelListPage.tsx b/frontend/packages/knative-plugin/src/components/eventing/channels-list/ChannelListPage.tsx index b72d958d8fe..9f9bf958910 100644 --- a/frontend/packages/knative-plugin/src/components/eventing/channels-list/ChannelListPage.tsx +++ b/frontend/packages/knative-plugin/src/components/eventing/channels-list/ChannelListPage.tsx @@ -1,4 +1,5 @@ import * as React from 'react'; +import { useTranslation } from 'react-i18next'; import { MultiListPage } from '@console/internal/components/factory'; import { RowFilter } from '@console/internal/components/filter-toolbar'; import { K8sResourceKind, referenceFor, referenceForModel } from '@console/internal/module/k8s'; @@ -9,6 +10,7 @@ import { import ChannelList from './ChannelList'; const ChannelListPage: React.FC> = (props) => { + const { t } = useTranslation(); const { loaded: modelsLoaded, eventSourceChannels } = useChannelModels(); const flatten = (resources) => modelsLoaded @@ -59,6 +61,7 @@ const ChannelListPage: React.FC> = (p return ( > = (props) => { + const { t } = useTranslation(); const { loaded: modelsLoaded, eventSourceModels } = useEventSourceModels(); const flatten = (resources) => modelsLoaded @@ -58,6 +60,7 @@ const EventSourceListPage: React.FC> return (