1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

dataStore bug fix

This commit is contained in:
Rokt33r
2016-01-10 03:30:41 +09:00
parent 91ef5edcc3
commit ff9ef2af41
3 changed files with 15 additions and 38 deletions

View File

@@ -121,7 +121,7 @@ class FinderMain extends React.Component {
let { articles, activeArticle, status, dispatch } = this.props
let saveToClipboard = () => this.saveToClipboard()
return (
<div onClick={e => this.handleClick(e)} className='Finder'>
<div className='Finder'>
<FinderInput
handleSearchChange={e => this.handleSearchChange(e)}
ref='finderInput'
@@ -243,7 +243,7 @@ var Finder = connect(remap)(FinderMain)
var store = createStore(reducer)
function refreshData () {
let data = dataStore.getData()
let data = dataStore.getData(true)
store.dispatch(actions.refreshData(data))
}