Feat: Create a conversation #3221 (#9269)

### What problem does this PR solve?

Feat: Create a conversation #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-08-06 11:42:40 +08:00
committed by GitHub
parent 1409bb30df
commit fb0426419e
7 changed files with 229 additions and 41 deletions

View File

@ -2,9 +2,9 @@ import { useFetchDialogList } from '@/hooks/use-chat-request';
import { ApplicationCard } from './application-card';
export function ChatList() {
const { data } = useFetchDialogList(true);
const { data } = useFetchDialogList();
return data
return data.dialogs
.slice(0, 10)
.map((x) => (
<ApplicationCard