aboutsummaryrefslogtreecommitdiff
path: root/src/components/follow.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/follow.js')
-rw-r--r--src/components/follow.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/follow.js b/src/components/follow.js
index 4fe4c58..d2d3902 100644
--- a/src/components/follow.js
+++ b/src/components/follow.js
@@ -44,7 +44,7 @@ export default class FollowComponent {
update() {
let prevState = this.state;
- this.state = this.store.getState();
+ this.state = this.store.getState().follow;
if (!prevState.enabled && this.state.enabled) {
this.create();
} else if (prevState.enabled && !this.state.enabled) {