Fixes 2 additional console errors. One in HeaderNav and one in Index component.

This commit is contained in:
Eric Nakagawa 2017-09-07 16:52:37 -07:00
parent a83e16308b
commit 89285e7693
2 changed files with 6 additions and 5 deletions

View file

@ -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>
);