You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a small bug in the PrimaryNav.js component, but wanted to share. Basically you need to add a key prop whenever you are mapping an array. For me, I'm simply using key={post.frontmatter.title}. This works for my project but probably not a great long term solution.
I added the key prop within the map function.
The text was updated successfully, but these errors were encountered:
This is a small bug in the PrimaryNav.js component, but wanted to share. Basically you need to add a key prop whenever you are mapping an array. For me, I'm simply using
key={post.frontmatter.title}
. This works for my project but probably not a great long term solution.I added the
key
prop within themap
function.The text was updated successfully, but these errors were encountered: