Skip to content

Commit

Permalink
fix: on mount double request
Browse files Browse the repository at this point in the history
  • Loading branch information
FiodorGherasimenco authored and mlrawlings committed Sep 13, 2023
1 parent 57197cb commit 2dc87c4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ class {
this.on("render", onRender);
ready();
} else {
this.once("mount", () => this.doQuery());
this.once("mount", () => {
this.shouldQuery = false;
this.doQuery();
});
}
}
Expand Down

0 comments on commit 2dc87c4

Please sign in to comment.