diff --git a/ui/src/ui/app-lifecycle.ts b/ui/src/ui/app-lifecycle.ts index ae816a0bdb9..02217131151 100644 --- a/ui/src/ui/app-lifecycle.ts +++ b/ui/src/ui/app-lifecycle.ts @@ -10,7 +10,6 @@ import { import { observeTopbar, scheduleChatScroll, scheduleLogsScroll } from "./app-scroll.ts"; import { applySettingsFromUrl, - attachThemeListener, detachThemeListener, inferBasePath, syncTabWithLocation, @@ -49,7 +48,6 @@ export function handleConnected(host: LifecycleHost) { const bootstrapReady = loadControlUiBootstrapConfig(host); syncTabWithLocation(host as unknown as Parameters[0], true); syncThemeWithSettings(host as unknown as Parameters[0]); - attachThemeListener(host as unknown as Parameters[0]); window.addEventListener("popstate", host.popStateHandler); void bootstrapReady.finally(() => { if (host.connectGeneration !== connectGeneration) {