Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/[username]/RecentActivity.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Activity = ({ event: { type, action, repo, size, issue, commits, branch, r
case 'star': {
return (
<div>
<FaRegStar className="mr-2 inline-block text-white" />
<FaRegStar className="mr-2 inline-block text-white uppercase" />
{action} repository <a href={repo.url}>{repo.name}</a>
</div>
);
Expand Down
4 changes: 3 additions & 1 deletion utils/fetchActivity.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ const fetchActivity = async login => {
},
});

console.log(data);

// organize data
const activity = data
.map(({ type, payload, created_at: timestamp, repo, ...event }) => {
Expand Down Expand Up @@ -101,7 +103,7 @@ const fetchActivity = async login => {
type: 'star',
timestamp,
repo,
action,
action: 'starred',
};
}

Expand Down