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

refactor: fix some coding style pointed by standard js

This commit is contained in:
sota1235
2017-01-11 23:35:02 +09:00
parent ed9ddee5f1
commit 79f33b9405
24 changed files with 29 additions and 45 deletions

View File

@@ -1,4 +1,4 @@
import React, { PropTypes } from 'react'
import React from 'react'
import NoteItem from 'browser/components/NoteItem'
import moment from 'moment'
@@ -54,7 +54,7 @@ class NoteList extends React.Component {
}
render () {
let { storageMap, notes, index } = this.props
let { notes, index } = this.props
let notesList = notes
.slice(0, 10 + 10 * this.state.range)