Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
Fix duplicated key
Browse files Browse the repository at this point in the history
  • Loading branch information
ebith committed May 31, 2018
1 parent d799c00 commit f0fed82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/media.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const Media = ({entities}) => {
for (const entity of entities.urls) {
if (/\.(jpg|png|gif)$/.test(entity.expanded_url)) {
externalMedia.push(
<a key={entity.display_url} href={entity.expanded_url}>
<a key={entity.expanded_url} href={entity.expanded_url}>
<img src={entity.expanded_url} />
</a>
);
Expand Down

0 comments on commit f0fed82

Please sign in to comment.