This commit is contained in:
charles-gauthereau
2025-02-20 10:26:37 +01:00
parent 54f0e87805
commit ed5f7a43f2
6 changed files with 1698 additions and 1287 deletions
@@ -1,3 +1,4 @@
"use server"
import {PageParams} from "@/types/next";
import {AgentCard} from "@/components/wrappers/dashboard/agent/AgentCard/AgentCard";
import {CardsWithPagination} from "@/components/wrappers/common/cards-with-pagination";
@@ -9,7 +10,7 @@ import {prisma} from "@/prisma";
export default async function RoutePage(props: PageParams<{}>) {
const agents = await prisma.agent.findMany()
const agents = await prisma.agent.findMany({})
return (
<Page>