⚡️ fix - typo

develop
Eric 4 years ago
parent 60d701ac07
commit eda530cce6

@ -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 {

Loading…
Cancel
Save