Skip to content

Commit

Permalink
fix error on empty description
Browse files Browse the repository at this point in the history
  • Loading branch information
mlambir committed Dec 20, 2019
1 parent a015fba commit 846e943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/components/RepoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const RepoCard:React.FC<{repo: Repo}> = ({repo}) => {
: ""}
<CardText>
{repo.fork && repo.parent ? <a href={repo.parent.url} className="card-fork"><GoRepoForked/>{repo.parent.name}</a> : ""}
{<Emoji text={repo.description}/> || <i>- no description -</i>}
{repo.description ? <Emoji text={repo.description}/> : <i>- no description -</i>}
</CardText>
</CardBody>
<CardFooter>
Expand Down

0 comments on commit 846e943

Please sign in to comment.