fac25 / week-6_ASLP

0 stars 0 forks source link

Use prisma inside `getServerSideProps` instead of fetch call #36

Open ivan-unfolds opened 2 years ago

ivan-unfolds commented 2 years ago

https://github.com/fac25/week-6_ASLP/blob/08ff021855257c5f88723766ae310e881de06516/pages/products/%5Bname%5D.js#L32

Also in getStaticProps