mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
finder index will be reset after re-focusing
This commit is contained in:
@@ -46,6 +46,7 @@ class FinderMain extends React.Component {
|
|||||||
let { dispatch } = this.props
|
let { dispatch } = this.props
|
||||||
|
|
||||||
dispatch(searchArticle(''))
|
dispatch(searchArticle(''))
|
||||||
|
dispatch(selectArticle(null))
|
||||||
}
|
}
|
||||||
window.addEventListener('focus', this.focusHandler)
|
window.addEventListener('focus', this.focusHandler)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user