Skip to content

Commit

Permalink
Update account.ts
Browse files Browse the repository at this point in the history
Signed-off-by: Øx <35565671+krypt0x@users.noreply.github.com>
  • Loading branch information
krypt0x authored Apr 26, 2024
1 parent b36eb6a commit b9fe7dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@ class AccountView extends DestructableView{

this.checkOptimization();
AppState.enableLeftMenu();
this.intervalRefresh = window.setInterval(() => {
this.intervalRefresh = setInterval(() => {
this.refresh();
}, 1 * 1000);

this.refresh();
}

destruct = (): Promise<void> => {
clearInterval(this.intervalRefresh);
window.clearInterval(this.intervalRefresh);

Check failure on line 83 in src/pages/account.ts

View workflow job for this annotation

GitHub Actions / deploy

No overload matches this call.
return super.destruct();
}

Expand Down

0 comments on commit b9fe7dc

Please sign in to comment.