aboutsummaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
Diffstat (limited to 'src/console')
-rw-r--r--src/console/console.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/console.js b/src/console/console.js
index 7e9bffa..d1547b8 100644
--- a/src/console/console.js
+++ b/src/console/console.js
@@ -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);
}
});