diff --git a/pages/admin.tsx b/pages/admin.tsx index b20f87c..ff4e87e 100644 --- a/pages/admin.tsx +++ b/pages/admin.tsx @@ -59,8 +59,7 @@ export async function getServerSideProps(context) { const users = await prisma.user.findMany({ include: { gains: true - }, - take: 5 + } }); const user = await prisma.user.findUnique({ @@ -90,8 +89,6 @@ export async function getServerSideProps(context) { }, }) - console.log("🚀 ~ file: admin.tsx:87 ~ getServerSideProps ~ gainsRetires", gainsRetires) - const produits = await prisma.produit.findMany({}) return {