From 623608799a65abb04255c4193f008b51e07e688a Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Mon, 30 Mar 2026 10:00:07 +0200 Subject: [PATCH] :bug: Fix problem with mcp plugin theme --- mcp/packages/plugin/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcp/packages/plugin/src/main.ts b/mcp/packages/plugin/src/main.ts index 45396f421d..e721689563 100644 --- a/mcp/packages/plugin/src/main.ts +++ b/mcp/packages/plugin/src/main.ts @@ -1,7 +1,7 @@ import "./style.css"; // get the current theme from the URL -const searchParams = new URLSearchParams(window.location.search); +const searchParams = new URLSearchParams(window.location.hash.split("?")[1]); document.body.dataset.theme = searchParams.get("theme") ?? "light"; // WebSocket connection management