aboutsummaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-09-16 20:26:13 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-09-16 21:08:18 +0900
commitc7a3dd16e666b5f844bc98f19e58a3fe9967b5a4 (patch)
tree58bc3b854a93a98dfc6f0e65f684f52c95bb8a77 /src/console
parent83cb277ba2af2bc2f87ace1d97fa582a7043bcd5 (diff)
message constants
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);
}
});