mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-01 01:25:32 +08:00
### What problem does this PR solve? Feat: Render the agent list page by page #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
import { useFetchAgentList } from '@/hooks/use-agent-request';
|
||||
import { useFetchAgentListByPage } from '@/hooks/use-agent-request';
|
||||
import { ApplicationCard } from './application-card';
|
||||
|
||||
export function Agents() {
|
||||
const { data } = useFetchAgentList();
|
||||
const { data } = useFetchAgentListByPage();
|
||||
|
||||
return data
|
||||
.slice(0, 10)
|
||||
|
||||
Reference in New Issue
Block a user