aboutsummaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-07 11:00:34 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-07 11:44:19 +0900
commit9fb7bf96be786acfbad97f7c76bc423a401dd657 (patch)
tree69a096e9a8610ae8966af05e91355efdd27ea811 /src/pages
parent45368384d1bbcbc005bf1eb3cdc7f7c8b137c28c (diff)
fix console errors
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/console.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/console.js b/src/pages/console.js
index 20a60f6..b7be73d 100644
--- a/src/pages/console.js
+++ b/src/pages/console.js
@@ -27,7 +27,7 @@ browser.runtime.onMessage.addListener((action) => {
case messages.CONSOLE_SHOW_COMMAND:
return store.dispatch(consoleActions.showCommand(action.command));
case messages.CONSOLE_SHOW_ERROR:
- return store.dispatch(consoleActions.showError(action.command));
+ return store.dispatch(consoleActions.showError(action.text));
case messages.CONSOLE_HIDE:
return store.dispatch(consoleActions.hide(action.command));
}