1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 18:26:26 +00:00

modify: not showing star when the note is not starred

This commit is contained in:
sota1235
2016-12-29 18:28:16 +09:00
parent 8aefb21123
commit 47925489fd

View File

@@ -69,12 +69,9 @@ const NoteItem = ({ isActive, note, dateDisplay, handleNoteClick, handleNoteCont
</div>
</div>
<i styleName='item-star'
className={note.isStarred
? 'fa fa-star'
: 'fa fa-star-o'
{note.isStarred ?
<i styleName='item-star' className='fa fa-star' /> : ''
}
/>
</div>
)