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