single reducer

This commit is contained in:
Shin'ya Ueoka 2017-10-04 22:01:16 +09:00
parent 6594841b1d
commit 79a4a805f6
6 changed files with 14 additions and 9 deletions

View file

@ -6,7 +6,7 @@ export default class Completion {
}
update() {
let state = this.store.getState();
let state = this.store.getState().completion;
if (JSON.stringify(this.prevState) === JSON.stringify(state)) {
return;
}