Skip to content

Commit

Permalink
fix: no empty requests (#1063)
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra authored Mar 11, 2024
1 parent e45f2a7 commit f22bd3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loader-recorder-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ function initNetworkObserver(
}
})

if (requests.length > 0 || data.isInitial) {
if (requests.length > 0) {
callback({ ...data, requests })
}
}
Expand Down

0 comments on commit f22bd3d

Please sign in to comment.