From 161fdea8667d2070ffb191284dba1b3dbafb1672 Mon Sep 17 00:00:00 2001 From: Jori Lallo Date: Tue, 13 Sep 2016 00:33:53 -0700 Subject: [PATCH] Fix keyboard shortcuts --- frontend/components/Layout/Layout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/components/Layout/Layout.js b/frontend/components/Layout/Layout.js index 891f2cb7..ef05bcd4 100644 --- a/frontend/components/Layout/Layout.js +++ b/frontend/components/Layout/Layout.js @@ -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('/')); }