fix(ui): correct chevron direction for chats expand/collapse toggle

This commit is contained in:
Marco Beretta 2025-12-04 21:10:46 +01:00
parent 21f90e7e0d
commit 1c316875d3
No known key found for this signature in database
GPG key ID: D918033D8E74CC11

View file

@ -1,6 +1,6 @@
import { useMemo, memo, type FC, useCallback, useEffect, useRef } from 'react';
import throttle from 'lodash/throttle';
import { ChevronRight } from 'lucide-react';
import { ChevronDown } from 'lucide-react';
import { useRecoilValue } from 'recoil';
import { Spinner, useMediaQuery } from '@librechat/client';
import { List, AutoSizer, CellMeasurer, CellMeasurerCache } from 'react-virtualized';
@ -216,10 +216,10 @@ const Conversations: FC<ConversationsProps> = ({
type="button"
>
<span className="select-none">{localize('com_ui_chats')}</span>
<ChevronRight
<ChevronDown
className={cn(
'h-3 w-3 transition-transform duration-200',
isChatsExpanded ? 'rotate-90' : '',
isChatsExpanded ? 'rotate-180' : '',
)}
/>
</button>