Skip to content

Commit

Permalink
lint fix: better null comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
armish committed Sep 3, 2015
1 parent c8f5787 commit d604d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cycledash/static/js/examine/components/CommentBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ var VCFCommentViewer = React.createClass({

var markedDownText = marked(plainText);
var user = this.props.user;
var authorName = user != null ? user.username : "Anonymous";
var authorName = user !== null ? user.username : "Anonymous";

return (
<div className='comments'>
Expand Down

0 comments on commit d604d04

Please sign in to comment.