From eda530cce63307161095947442d0ab9f687d6253 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 15 Dec 2022 17:19:10 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20fix=20-=20typo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/admin.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 {