message constants
This commit is contained in:
parent
83cb277ba2
commit
c7a3dd16e6
5 changed files with 10 additions and 5 deletions
|
@ -32,7 +32,7 @@ backgroundStore.subscribe(() => {
|
|||
browser.tabs.query({ active: true, currentWindow: true }).then((tabs) => {
|
||||
if (tabs.length > 0) {
|
||||
return browser.tabs.sendMessage(tabs[0].id, {
|
||||
type: 'state.changed',
|
||||
type: messages.STATE_UPDATE,
|
||||
state: backgroundStore.getState()
|
||||
});
|
||||
}
|
||||
|
|
Reference in a new issue