🐛 Fix problem with mcp plugin theme

This commit is contained in:
alonso.torres
2026-03-30 10:00:07 +02:00
parent 6ca34908d8
commit 623608799a

View File

@@ -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