From a07efc37e4635ef03fe9bf7b0f085679d0cb179e Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 25 Feb 2024 01:29:59 -0800 Subject: [PATCH] refactor: disable intializeTelemetry --- client/src/App.svelte | 5 +++-- client/src/lib/Apps/AppContainer.svelte | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/client/src/App.svelte b/client/src/App.svelte index b9834f1..db6e110 100644 --- a/client/src/App.svelte +++ b/client/src/App.svelte @@ -12,7 +12,6 @@ import Loading from "./lib/Loading/Loading.svelte"; import { settingsStore } from "./lib/stores/settingsStore"; import getSettings from "./lib/utils/getSettings"; - import { Svrollbar } from "svrollbar"; let activeApp: App = "camera"; let topics: TelemetryTopics = { @@ -38,7 +37,9 @@ if (savedSettings !== false) { settingsStore.set(savedSettings); } - initializeTelemetry(topics, 200); + window.ResizeObserver = ResizeObserver; + // disabled while migrating away from python + // initializeTelemetry(topics, 200); setTimeout(() => { loading = false; initializationSequence(); diff --git a/client/src/lib/Apps/AppContainer.svelte b/client/src/lib/Apps/AppContainer.svelte index e26f2ed..114e5de 100644 --- a/client/src/lib/Apps/AppContainer.svelte +++ b/client/src/lib/Apps/AppContainer.svelte @@ -21,7 +21,7 @@