I was following the nextjs tutorial and reached the stage of using prerendering for markdown files.
After following all the steps in the tutorial I got:
TypeError: Cannot read property 'map' of undefined
Has anyone managed to understand why this is happening?
The tutorial can be found here
I only found this git issue
Submitted a Github issue to Nextjs Team, the issue can be found here
The problem got fixed: I had a typo in
Pros instead of Props
Thanks @kartikpandey2, for showing me where the problem was.
Thanks in advance