re: Create a Fullstack Blog App with Next.js, Prisma 2 and Docker- Part I Setup the Repo and Configure the Backend VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hey, I have a question, in the index page you import the type NextPage, although I don't see you use getInitialProps or something similar, is there...
 

Hi Jose! That's a great catch- I just checked and you definitely don't need to import NextPage there, you can simply define your page component as a function and export that. I'll be sure to update the code- thanks!

code of conduct - report abuse