nothing is rendering in nextjs page when mapping through an array
I have an object
in my component I am getting the
finally this is how I am rendering the links:
but nothing is showing up. only the links without dynamic routes are showing up
metaDatas with two properties: slugs and titles. both of them are arrays. slugs are for links and titles are for the titles of the document I want to show to the end user. in my component I am getting the
metaDatas obj asynchronously.const metaDatas = await getAllPostsMetadata();finally this is how I am rendering the links:
but nothing is showing up. only the links without dynamic routes are showing up
