mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
fix: cast translation keys for ESLint
This commit is contained in:
parent
b201be41c3
commit
7c2805e3d4
1 changed files with 3 additions and 2 deletions
|
|
@ -17,6 +17,7 @@ import {
|
|||
OGDialogContent,
|
||||
} from '@librechat/client';
|
||||
import type { ConversationListParams, TConversation } from 'librechat-data-provider';
|
||||
import type { TranslationKeys } from '~/hooks';
|
||||
import {
|
||||
useConversationsInfiniteQuery,
|
||||
useDeleteConversationMutation,
|
||||
|
|
@ -142,7 +143,7 @@ export default function ArchivedChatsTable({
|
|||
onClick={() => column.toggleSorting(column.getIsSorted() === 'asc')}
|
||||
className="px-2 py-0 text-xs hover:bg-surface-hover sm:px-2 sm:py-2 sm:text-sm"
|
||||
aria-sort={ariaSort}
|
||||
aria-label={localize('com_nav_archive_name_sort')}
|
||||
aria-label={localize('com_nav_archive_name_sort' as TranslationKeys)}
|
||||
aria-current={sortState ? 'true' : 'false'}
|
||||
>
|
||||
{localize('com_nav_archive_name')}
|
||||
|
|
@ -192,7 +193,7 @@ export default function ArchivedChatsTable({
|
|||
onClick={() => column.toggleSorting(column.getIsSorted() === 'asc')}
|
||||
className="px-2 py-0 text-xs hover:bg-surface-hover sm:px-2 sm:py-2 sm:text-sm"
|
||||
aria-sort={ariaSort}
|
||||
aria-label={localize('com_nav_archive_created_at_sort')}
|
||||
aria-label={localize('com_nav_archive_created_at_sort' as TranslationKeys)}
|
||||
aria-current={sortState ? 'true' : 'false'}
|
||||
>
|
||||
{localize('com_nav_archive_created_at')}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue