We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a31ede9 commit cc58e04Copy full SHA for cc58e04
src/js/components/notifications.js
@@ -46,12 +46,13 @@ var Notifications = React.createClass({
46
</div>
47
);
48
} else {
49
- this.state.notifications.map(function(obj, i) {
50
- var repoFullName = obj[0].repository.full_name;
51
- notifications = (
52
- <Repository repo={obj} repoName={repoFullName} key={repoFullName} />
53
- );
54
- });
+ notifications = (
+ this.state.notifications.map(function(obj, i) {
+ console.log(obj);
+ var repoFullName = obj[0].repository.full_name;
+ return <Repository repo={obj} repoName={repoFullName} key={repoFullName} />;
+ })
55
+ );
56
}
57
58
return (
0 commit comments