Skip to content

Commit

Permalink
window.setInterval
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 9a59945 commit b36eb6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class AccountView extends DestructableView{

this.checkOptimization();
AppState.enableLeftMenu();
this.intervalRefresh = setInterval(() => {
this.intervalRefresh = window.setInterval(() => {

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

View workflow job for this annotation

GitHub Actions / deploy

Type 'number' is not assignable to type 'Timer'.
this.refresh();
}, 1 * 1000);

Expand Down

0 comments on commit b36eb6a

Please sign in to comment.