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:
@@ -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>
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user