search fixes

This commit is contained in:
Jori Lallo
2016-07-19 00:31:01 -07:00
parent ad9490ed8c
commit 3695805745

View File

@@ -31,8 +31,11 @@ class Layout extends React.Component {
@keydown(['/', 't'])
search() {
if (!this.props.search) return;
browserHistory.push('/search');
// if (!this.props.search) return;
setTimeout(() => {
browserHistory.push('/search');
}, 0);
}
render() {