fix console errors
This commit is contained in:
parent
45368384d1
commit
9fb7bf96be
3 changed files with 19 additions and 8 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Reference in a new issue