message constants
This commit is contained in:
parent
83cb277ba2
commit
c7a3dd16e6
5 changed files with 10 additions and 5 deletions
|
@ -171,7 +171,7 @@ const update = (state) => {
|
|||
}
|
||||
|
||||
browser.runtime.onMessage.addListener((action) => {
|
||||
if (action.type === 'state.changed') {
|
||||
if (action.type === messages.STATE_UPDATE) {
|
||||
return update(action.state.console);
|
||||
}
|
||||
});
|
||||
|
|
Reference in a new issue