Skip to content

Commit

Permalink
Fix a rare bug that causes the page to not load data
Browse files Browse the repository at this point in the history
  • Loading branch information
behrang committed Oct 23, 2024
1 parent b0f296b commit 9b6b313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ export class Model {
connectTonAccess = () => {
const network = this.network
clearTimeout(this.timeoutConnectTonAccess)
if (document.hidden || this.activePage !== 'stake') {
if (this.activePage !== 'stake') {
return
}
getHttpV4Endpoint({ network })
Expand Down

0 comments on commit 9b6b313

Please sign in to comment.