search fixes

This commit is contained in:
Jori Lallo committed 2016-07-19 00:31:01 -07:00
1 parent ad9490ed8c
commit 3695805745
1 file changed
+5 -2
+5 -2
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() {