Remove update propagation
This commit is contained in:
parent
c4996ef5d8
commit
24c7369451
12 changed files with 23 additions and 57 deletions
|
@ -3,6 +3,10 @@ export default class Completion {
|
|||
this.wrapper = wrapper;
|
||||
this.store = store;
|
||||
this.prevState = {};
|
||||
|
||||
store.subscribe(() => {
|
||||
this.update();
|
||||
});
|
||||
}
|
||||
|
||||
update() {
|
||||
|
|
|
@ -17,6 +17,10 @@ export default class ConsoleComponent {
|
|||
|
||||
this.hideCommand();
|
||||
this.hideMessage();
|
||||
|
||||
store.subscribe(() => {
|
||||
this.update();
|
||||
});
|
||||
}
|
||||
|
||||
onBlur() {
|
||||
|
|
Reference in a new issue