mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 00:39:45 +02:00
Fixes 2 additional console errors. One in HeaderNav and one in Index component.
This commit is contained in:
parent
a83e16308b
commit
89285e7693
2 changed files with 6 additions and 5 deletions
|
@ -76,9 +76,9 @@ class Index extends React.Component {
|
|||
.filter(user => {
|
||||
return user.pinned;
|
||||
})
|
||||
.map(user => {
|
||||
.map((user, i) => {
|
||||
return (
|
||||
<a href={user.infoLink}>
|
||||
<a href={user.infoLink} key={i}>
|
||||
<img src={user.image} title={user.caption} />
|
||||
</a>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue