Feat: Fixed the issue where the chat page would jump after entering the homepage #3221 (#7616)

### What problem does this PR solve?

Feat: Fixed the issue where the chat page would jump after entering the
homepage #3221
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-05-13 17:57:28 +08:00
committed by GitHub
parent a8dbb5d3b0
commit b4cc37f3c1
4 changed files with 84 additions and 10 deletions

View File

@ -1,8 +1,8 @@
import { useFetchNextDialogList } from '@/hooks/chat-hooks';
import { useFetchDialogList } from '@/hooks/use-chat-request';
import { ApplicationCard } from './application-card';
export function ChatList() {
const { data } = useFetchNextDialogList();
const { data } = useFetchDialogList(true);
return data
.slice(0, 10)