add hide action for console

This commit is contained in:
Shin'ya Ueoka 2018-03-04 17:57:56 +09:00
parent 0211d7781f
commit 37410b874f
6 changed files with 26 additions and 1 deletions

View file

@ -24,6 +24,8 @@ const onMessage = (message) => {
return store.dispatch(consoleActions.showError(message.text));
case messages.CONSOLE_SHOW_INFO:
return store.dispatch(consoleActions.showInfo(message.text));
case messages.CONSOLE_HIDE:
return store.dispatch(consoleActions.hide());
}
};