Increase deactivate search timeout

This commit is contained in:
6ea86b96 2017-05-01 11:56:07 +07:00 committed by Jeremy Kauffman
parent c85228f3a4
commit 8f57420127

View file

@ -27,7 +27,7 @@ const perform = (dispatch) => ({
navigate: (path) => dispatch(doNavigate(path)),
search: (query) => dispatch(doSearchContent(query)),
activateSearch: () => dispatch(doActivateSearch()),
deactivateSearch: () => setTimeout(() => { dispatch(doDeactivateSearch()) }, 10),
deactivateSearch: () => setTimeout(() => { dispatch(doDeactivateSearch()) }, 50),
})
export default connect(select, perform)(Header)