From c202ab052917794b7d3f7af3413d2d0fcd1b3bba Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Mon, 13 Nov 2017 19:44:19 +0900 Subject: fix hot-reload settings --- src/content/reducers/setting.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/content/reducers/setting.js') diff --git a/src/content/reducers/setting.js b/src/content/reducers/setting.js index a54f5a3..a23027f 100644 --- a/src/content/reducers/setting.js +++ b/src/content/reducers/setting.js @@ -1,7 +1,8 @@ import actions from 'content/actions'; const defaultState = { - keymaps: new Map(), + // keymaps is and arrays of key-binding pairs, which is entries of Map + keymaps: [], }; export default function reducer(state = defaultState, action = {}) { -- cgit v1.2.3