Skip to content

Commit

Permalink
Use <GithubUser> where appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
dontcallmedom committed Sep 25, 2015
1 parent ebddef4 commit 0560b54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/show-github.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ export default class ShowGitHub extends React.Component {
let target = "";
switch (p.action) {
case "assigned":
target = <span>{" to " } <span className="gh-user">@{p.assignee.login}</span></span>
target = <span>{" to " } <GithubUser name={p.assignee.login}/></span>
break;
case "unassigned":
target = <span>{" from " } <span className="gh-user">@{p.assignee.login}</span></span>
target = <span>{" from " } <GithubUser name={p.assignee.login}/></span>
break;
case "labeled":
case "unlabeled":
Expand Down

0 comments on commit 0560b54

Please sign in to comment.