Skip to content

Commit

Permalink
fix: naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Chkhikvadze committed Nov 29, 2023
1 parent ce32db4 commit 6916805
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions apps/ui/src/pages/Sessions/Session.tsx
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -23,6 +23,7 @@ import DatePickerField from 'components/DatePicker/DatePicker'
import { Moment } from 'moment'

const Sessions = () => {
const { t } = useTranslation()
const {
scheduleOptions,
agentOptions,
Expand All @@ -42,7 +43,7 @@ const Sessions = () => {
<StyledSectionWrapper>
<StyledHeaderGroup className='header_group'>
<div>
<StyledSectionTitle>Sessions</StyledSectionTitle>
<StyledSectionTitle>{t('sessions')}</StyledSectionTitle>
</div>

<StyledRightSideWrapper>
Expand Down
2 changes: 1 addition & 1 deletion apps/ui/src/routes/ChatRouteLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ const ChatRouteLayout = () => {

{sessionModule?.list && chatsData?.length > 0 && (
<>
<ListHeader title='Session' />
<ListHeader title={t('session')} />

{chatsData?.map((chat: any) => {
const { agent, name, id } = chat
Expand Down

0 comments on commit 6916805

Please sign in to comment.