mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
fix(ui): correct chevron direction for chats expand/collapse toggle
This commit is contained in:
parent
21f90e7e0d
commit
1c316875d3
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
import { useMemo, memo, type FC, useCallback, useEffect, useRef } from 'react';
|
import { useMemo, memo, type FC, useCallback, useEffect, useRef } from 'react';
|
||||||
import throttle from 'lodash/throttle';
|
import throttle from 'lodash/throttle';
|
||||||
import { ChevronRight } from 'lucide-react';
|
import { ChevronDown } from 'lucide-react';
|
||||||
import { useRecoilValue } from 'recoil';
|
import { useRecoilValue } from 'recoil';
|
||||||
import { Spinner, useMediaQuery } from '@librechat/client';
|
import { Spinner, useMediaQuery } from '@librechat/client';
|
||||||
import { List, AutoSizer, CellMeasurer, CellMeasurerCache } from 'react-virtualized';
|
import { List, AutoSizer, CellMeasurer, CellMeasurerCache } from 'react-virtualized';
|
||||||
|
|
@ -216,10 +216,10 @@ const Conversations: FC<ConversationsProps> = ({
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<span className="select-none">{localize('com_ui_chats')}</span>
|
<span className="select-none">{localize('com_ui_chats')}</span>
|
||||||
<ChevronRight
|
<ChevronDown
|
||||||
className={cn(
|
className={cn(
|
||||||
'h-3 w-3 transition-transform duration-200',
|
'h-3 w-3 transition-transform duration-200',
|
||||||
isChatsExpanded ? 'rotate-90' : '',
|
isChatsExpanded ? 'rotate-180' : '',
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue