summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSoreine <nicolas@gitbook.com>2016-10-19 00:34:19 +0200
committerSoreine <nicolas@gitbook.com>2016-10-19 00:34:19 +0200
commit4f2c729d607c8d8cae73ecd106fdb2de7797ba70 (patch)
treec7801f31f2618eb21fbb9d939c44f6b56b92eb59
parent59079bc18d5bdeb89cb7b8574cb29c66d30dc123 (diff)
downloadgitbook-4f2c729d607c8d8cae73ecd106fdb2de7797ba70.zip
gitbook-4f2c729d607c8d8cae73ecd106fdb2de7797ba70.tar.gz
gitbook-4f2c729d607c8d8cae73ecd106fdb2de7797ba70.tar.bz2
core: Fix HotKeys default keymap
-rw-r--r--packages/gitbook-core/src/components/HotKeys.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/gitbook-core/src/components/HotKeys.js b/packages/gitbook-core/src/components/HotKeys.js
index 0d6fb8d..e2a8154 100644
--- a/packages/gitbook-core/src/components/HotKeys.js
+++ b/packages/gitbook-core/src/components/HotKeys.js
@@ -22,7 +22,7 @@ const HotKeys = React.createClass({
},
getDefaultProps() {
- return { keyMap: [] };
+ return { keyMap: {} };
},
updateBindings(keyMap) {