diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-04 22:01:16 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-04 22:01:16 +0900 |
commit | 79a4a805f6be14572b4486ddb79b0ebb98e37690 (patch) | |
tree | 839dea5d9ed0654693c307c72dc3c75ebbe12a86 /src/components/follow.js | |
parent | 6594841b1d1f082107bdb1489f02d3c99cff8ffa (diff) |
single reducer
Diffstat (limited to 'src/components/follow.js')
-rw-r--r-- | src/components/follow.js | 2 |
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) { |