refactor: disable intializeTelemetry

This commit is contained in:
Youwen Wu 2024-02-25 01:29:59 -08:00
parent f743695572
commit a07efc37e4
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 4 additions and 3 deletions

View file

@ -12,7 +12,6 @@
import Loading from "./lib/Loading/Loading.svelte"; import Loading from "./lib/Loading/Loading.svelte";
import { settingsStore } from "./lib/stores/settingsStore"; import { settingsStore } from "./lib/stores/settingsStore";
import getSettings from "./lib/utils/getSettings"; import getSettings from "./lib/utils/getSettings";
import { Svrollbar } from "svrollbar";
let activeApp: App = "camera"; let activeApp: App = "camera";
let topics: TelemetryTopics = { let topics: TelemetryTopics = {
@ -38,7 +37,9 @@
if (savedSettings !== false) { if (savedSettings !== false) {
settingsStore.set(savedSettings); settingsStore.set(savedSettings);
} }
initializeTelemetry(topics, 200); window.ResizeObserver = ResizeObserver;
// disabled while migrating away from python
// initializeTelemetry(topics, 200);
setTimeout(() => { setTimeout(() => {
loading = false; loading = false;
initializationSequence(); initializationSequence();

View file

@ -21,7 +21,7 @@
<div <div
in:fade={{ duration: 150, delay: 150 }} in:fade={{ duration: 150, delay: 150 }}
out:fade={{ duration: 150 }} out:fade={{ duration: 150 }}
class:overflow-hidden={true} class:app-container={useContainer}
{...$$restProps} {...$$restProps}
> >
<slot /> <slot />