aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/ProxyApp.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/js/components/ProxyApp.jsx')
-rw-r--r--web/src/js/components/ProxyApp.jsx7
1 files changed, 2 insertions, 5 deletions
diff --git a/web/src/js/components/ProxyApp.jsx b/web/src/js/components/ProxyApp.jsx
index 967cc921..c458639d 100644
--- a/web/src/js/components/ProxyApp.jsx
+++ b/web/src/js/components/ProxyApp.jsx
@@ -13,7 +13,6 @@ class ProxyAppMain extends Component {
static childContextTypes = {
returnFocus: PropTypes.func.isRequired,
- location: PropTypes.object.isRequired,
}
static contextTypes = {
@@ -89,10 +88,7 @@ class ProxyAppMain extends Component {
* @todo use props
*/
getChildContext() {
- return {
- returnFocus: this.focus,
- location: this.props.location
- }
+ return { returnFocus: this.focus }
}
/**
@@ -106,6 +102,7 @@ class ProxyAppMain extends Component {
/**
* @todo move to actions
+ * @todo bind on window
*/
onKeyDown(e) {
let name = null