aboutsummaryrefslogtreecommitdiff
path: root/src/content/components/top-content/follow-controller.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-28 14:10:46 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-31 19:34:32 +0900
commit24c736945126625c6e099d6062bcd51a0c967e68 (patch)
tree543519ba36e4cd10cae66d2e31efd94825f84e36 /src/content/components/top-content/follow-controller.js
parentc4996ef5d8d5d85f49732bb01b6da13b66ea81d5 (diff)
Remove update propagation
Diffstat (limited to 'src/content/components/top-content/follow-controller.js')
-rw-r--r--src/content/components/top-content/follow-controller.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/content/components/top-content/follow-controller.js b/src/content/components/top-content/follow-controller.js
index 7570cf8..a87ecc7 100644
--- a/src/content/components/top-content/follow-controller.js
+++ b/src/content/components/top-content/follow-controller.js
@@ -19,6 +19,10 @@ export default class FollowController {
this.producer = null;
messages.onMessage(this.onMessage.bind(this));
+
+ store.subscribe(() => {
+ this.update();
+ });
}
onMessage(message, sender) {