Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Aug 7, 2024
1 parent fbce42e commit 71573c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/mixins/navigate.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@ export async function navToUrl (url) {

/** @type {B<void>} */
const pageReadinessPromise = new B((resolve) => {
/** @type {() => Promise<any>} */
let performPageReadinessCheck = async () => {
const performPageReadinessCheck = async () => {
while (isPageLoading) {
const pageReadyCheckStart = new timing.Timer().start();
try {
Expand Down

0 comments on commit 71573c1

Please sign in to comment.