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

Several small fixes

This commit is contained in:
Sosuke Suzuki
2017-04-06 21:52:23 +09:00
parent 50cd0b794b
commit 25685dc8b0
4 changed files with 11 additions and 11 deletions

View File

@@ -43,7 +43,7 @@ const TagElementList = (tags) => {
* @param {Function} handleDragStart
* @param {string} dateDisplay
*/
const NoteItem = ({ isActive, note, dateDisplay, handleNoteClick, handleNoteContextMenu, handleDragStart}) => (
const NoteItem = ({ isActive, note, dateDisplay, handleNoteClick, handleNoteContextMenu, handleDragStart }) => (
<div styleName={isActive
? 'item--active'
: 'item'
@@ -52,7 +52,7 @@ const NoteItem = ({ isActive, note, dateDisplay, handleNoteClick, handleNoteCont
onClick={e => handleNoteClick(e, `${note.storage}-${note.key}`)}
onContextMenu={e => handleNoteContextMenu(e, `${note.storage}-${note.key}`)}
onDragStart={e => handleDragStart(e, note)}
draggable="true"
draggable='true'
>
<div styleName='item-wrapper'>
<div styleName='item-bottom-time'>{dateDisplay}</div>