Skip to content

Commit

Permalink
[fix]
Browse files Browse the repository at this point in the history
  • Loading branch information
木瓜丸 committed Dec 20, 2020
1 parent 5985eff commit 0e86fb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class Store{
}
update(state) {
this.state = state;
this.element.update();
this.element._update();
}
}

Expand Down Expand Up @@ -94,7 +94,7 @@ export class Component extends HTMLElement{
}, ...args));
}
render(){ return html``; }
async update(){
async _update(){
const {strings, values} = this.render({
...this,
state: this.state,
Expand Down

0 comments on commit 0e86fb9

Please sign in to comment.