diff --git a/src/app/home/home.page.ts b/src/app/home/home.page.ts index af64d433..948a9aae 100644 --- a/src/app/home/home.page.ts +++ b/src/app/home/home.page.ts @@ -66,7 +66,7 @@ export class HomePage implements OnInit, OnDestroy { let userEventsQueryRef: QueryRef | null = null; if (!environment.demoMode) { - const userEventsQueryRef = this.userEvents.watch(null, { pollInterval: 3000 }); + userEventsQueryRef = this.userEvents.watch(null, { pollInterval: 3000 }); } this.queryRefs.push(