Skip to content

Commit

Permalink
Fix GlobalHeader versions Popover (missing key prop)
Browse files Browse the repository at this point in the history
  • Loading branch information
icaraps committed Sep 21, 2020
1 parent 854acfc commit 04d84cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ const GlobalHeader = ({ globalNav, versions, pages, docs, location }) => {
const isFirst = i === 0;

return (
<MenuItem isSelected={isFirst} isHighlighted={isFirst} href={version.path}>
<MenuItem key={i} isSelected={isFirst} isHighlighted={isFirst} href={version.path}>
{version.title}
</MenuItem>
);
Expand Down

0 comments on commit 04d84cc

Please sign in to comment.