Fix keyboard shortcuts

This commit is contained in:
Jori Lallo
2016-09-13 00:33:53 -07:00
parent 1002a5b4a1
commit 161fdea866

View File

@ -36,13 +36,13 @@ class Layout extends React.Component {
@keydown(['/', 't'])
search() {
if (!this.props.user) return;
// if (!this.props.user) return;
_.defer(() => browserHistory.push('/search'));
}
@keydown(['d'])
dashboard() {
if (!this.props.user) return;
// if (!this.props.user) return;
_.defer(() => browserHistory.push('/'));
}