From 0f60c0696b3afb41c92a7bb85b347177ccaa1495 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 25 Aug 2025 15:53:21 +0300 Subject: [PATCH] chore(react): fix leak in content widget --- apps/client/src/widgets/type_widgets/content_widget.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/client/src/widgets/type_widgets/content_widget.tsx b/apps/client/src/widgets/type_widgets/content_widget.tsx index 0ea49105c..2f65dfb9c 100644 --- a/apps/client/src/widgets/type_widgets/content_widget.tsx +++ b/apps/client/src/widgets/type_widgets/content_widget.tsx @@ -21,6 +21,7 @@ import OtherSettings from "./options/other.jsx"; import BackendLogWidget from "./content/backend_log.js"; import MultiFactorAuthenticationSettings from "./options/multi_factor_authentication.js"; import AiSettings from "./options/ai_settings.jsx"; +import { unmountComponentAtNode } from "preact/compat"; const TPL = /*html*/`