mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-07 02:01:50 +01:00
refactor(Nav): improve toggle animation, refactor to TS (#755)
* style(Nav): match transition effect of official site * fix(Pages): fix bug when searchResults pageSize is < prev PageSize causes currentPage to be impossible value * refactor/fix(Nav): fix width transition animation and refactor to TS
This commit is contained in:
parent
d6dbd56e33
commit
c7b586ba4c
4 changed files with 76 additions and 34 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { TMessage } from 'librechat-data-provider';
|
||||
import { atom, selector } from 'recoil';
|
||||
import { buildTree } from '~/utils';
|
||||
|
||||
|
|
@ -11,7 +12,7 @@ const searchQuery = atom({
|
|||
default: '',
|
||||
});
|
||||
|
||||
const searchResultMessages = atom({
|
||||
const searchResultMessages = atom<TMessage[] | null>({
|
||||
key: 'searchResultMessages',
|
||||
default: null,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue