Data still isn't showing. I did however fix the d(...
# prisma-client
c
Data still isn't showing. I did however fix the d(...) is not a function by downgrading to next@10.0.4
Copy code
TypeError: Cannot read property 'name' of null
Here's my code snippet:
Copy code
export async function getServerSideProps({ params }) {
  const users = await prisma.user.findUnique({
    where: {
      name: params.toString()
    }
  })

  return {
    props: { users }
  }
}