aboutsummaryrefslogtreecommitdiff
path: root/src/console/index.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-08 18:41:44 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-08 19:09:25 +0900
commitb0d2b5328107a9a2018132938fb5a9efcd77fc50 (patch)
treef66bc49efc0d7ca3a6f5af3f7330f10941cbeadd /src/console/index.js
parentf6996a2274f3293d7c5860174dd224b28877e108 (diff)
use mode in console message
Diffstat (limited to 'src/console/index.js')
-rw-r--r--src/console/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console/index.js b/src/console/index.js
index 7396a96..b07d8e7 100644
--- a/src/console/index.js
+++ b/src/console/index.js
@@ -28,7 +28,7 @@ browser.runtime.onMessage.addListener((action) => {
return store.dispatch(consoleActions.showCommand(action.command));
case messages.CONSOLE_SHOW_ERROR:
return store.dispatch(consoleActions.showError(action.text));
- case messages.CONSOLE_HIDE:
- return store.dispatch(consoleActions.hide(action.command));
+ case messages.CONSOLE_HIDE_COMMAND:
+ return store.dispatch(consoleActions.hideCommand());
}
});