diff options
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/index.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/content/index.js b/src/content/index.js index 1ed8463..64d86bb 100644 --- a/src/content/index.js +++ b/src/content/index.js @@ -34,8 +34,7 @@ const reloadSettings = () => { return browser.runtime.sendMessage({ type: messages.SETTINGS_QUERY, }).then((settings) => { - let keymaps = JSON.parse(settings.json).keymaps; - store.dispatch(inputActions.setKeymaps(keymaps)); + store.dispatch(inputActions.setKeymaps(settings.keymaps)); }); }; |