1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-15 02:36:36 +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>
</div> </div>
<i styleName='item-star' {note.isStarred ?
className={note.isStarred <i styleName='item-star' className='fa fa-star' /> : ''
? 'fa fa-star' }
: 'fa fa-star-o'
}
/>
</div> </div>
) )