Skip to content

Commit e3c5a06

Browse files
author
Emmanouil Konstantinidis
committed
Add key for notifications
1 parent e29d326 commit e3c5a06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/components/notifications.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ var Notifications = React.createClass({
4040
<h4>{i}</h4>
4141
{repo.map(function(as, df) {
4242
return (
43-
<SingleNotification notification={as} />)
44-
)
43+
<SingleNotification notification={as} key={as.id} />
44+
);
4545
})}
4646
</div>
4747
);

0 commit comments

Comments
 (0)