Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fix 'dataRequests' is constant issue

Blue Mousea174a83117f5
diff --git a/src/redux/sagas/ui/worker_is_events_available.js b/src/redux/sagas/ui/worker_is_events_available.js
index 0c0d8e9d6..5de2e4deb 100644
--- a/src/redux/sagas/ui/worker_is_events_available.js
+++ b/src/redux/sagas/ui/worker_is_events_available.js
@@ -16,7 +16,7 @@ export default function* checkEventsAvailable() {
return
}
- const dataRequests = 0
+ let dataRequests = 0
while (true) {
if (dataRequests > DATA_REQUEST_ATTEMPTS) {