Skip to content

Commit

Permalink
fix(client): fix counter issue, fix #1059
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed May 25, 2022
1 parent 533ca08 commit b576129
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/client/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ export const init = ({
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
if (app) app.mount(root!);

updateCommentCount();
updatePageviewCount();

const stopComment = watchEffect(updateCommentCount);
const stopPageview = watchEffect(updatePageviewCount);

Expand Down

0 comments on commit b576129

Please sign in to comment.