From af0b2109f96e7cd78a225cce8d22925a6c203023 Mon Sep 17 00:00:00 2001 From: Brett Sun Date: Mon, 2 May 2016 11:14:52 +0200 Subject: [PATCH] Remove small unnecessary bits of logic in displaying notes --- js/components/ascribe_detail/note.js | 2 +- js/components/ascribe_detail/piece_container.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/js/components/ascribe_detail/note.js b/js/components/ascribe_detail/note.js index 693a0400..4d5358c2 100644 --- a/js/components/ascribe_detail/note.js +++ b/js/components/ascribe_detail/note.js @@ -42,7 +42,7 @@ let Note = React.createClass({ render() { const { currentUser, defaultValue, editable, id, label, placeholder, show, url } = this.props; - if ((!!currentUser.username && editable || !editable ) && show) { + if ((currentUser.username && editable || !editable) && show) { return (