fix console errors

This commit is contained in:
Shin'ya Ueoka 2017-10-07 11:00:34 +09:00
parent 45368384d1
commit 9fb7bf96be
3 changed files with 19 additions and 8 deletions

View file

@ -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));
}