console command actions without store

This commit is contained in:
Shin'ya Ueoka 2017-10-06 23:03:28 +09:00
parent 32168a94e0
commit 10ad62e606
5 changed files with 12 additions and 17 deletions

View file

@ -39,6 +39,5 @@ browser.runtime.onMessage.addListener((action) => {
if (action.type === messages.STATE_UPDATE) {
let state = action.state.console;
consoleComponent.update(state);
store.dispatch(completionActions.setItems(state.completions));
}
});