diff --git a/apps/ui/src/pages/Sessions/Session.tsx b/apps/ui/src/pages/Sessions/Session.tsx index 802fec72a..c12534ad0 100644 --- a/apps/ui/src/pages/Sessions/Session.tsx +++ b/apps/ui/src/pages/Sessions/Session.tsx @@ -1,7 +1,7 @@ import styled from 'styled-components' import Table from 'components/Table' - +import { useTranslation } from 'react-i18next' import Heading from '@l3-lib/ui-core/dist/Heading' import TextField from '@l3-lib/ui-core/dist/TextField' @@ -23,6 +23,7 @@ import DatePickerField from 'components/DatePicker/DatePicker' import { Moment } from 'moment' const Sessions = () => { + const { t } = useTranslation() const { scheduleOptions, agentOptions, @@ -42,7 +43,7 @@ const Sessions = () => {
- Sessions + {t('sessions')}
diff --git a/apps/ui/src/routes/ChatRouteLayout.tsx b/apps/ui/src/routes/ChatRouteLayout.tsx index 3488cb43d..b1bf7708f 100644 --- a/apps/ui/src/routes/ChatRouteLayout.tsx +++ b/apps/ui/src/routes/ChatRouteLayout.tsx @@ -251,7 +251,7 @@ const ChatRouteLayout = () => { {sessionModule?.list && chatsData?.length > 0 && ( <> - + {chatsData?.map((chat: any) => { const { agent, name, id } = chat