From 37b43676b01ce2a12786a857859ac1f9cd3a5cac Mon Sep 17 00:00:00 2001 From: LIN4CRE Date: Wed, 22 Jul 2026 16:14:37 +0000 Subject: [PATCH] =?UTF-8?q?fix(playground):=20add=20'theme'=20to=20activeT?= =?UTF-8?q?ool=20union=20=E2=80=94=20unblocks=20CI=20tsc=20check?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The HSL Theme Engine (TOOL 9) button/pane used 'theme' but the useState union type was never updated, causing TS2345/TS2367 errors and red CI. --- src/components/DevPlayground.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DevPlayground.tsx b/src/components/DevPlayground.tsx index 0c54f26..a14eba5 100644 --- a/src/components/DevPlayground.tsx +++ b/src/components/DevPlayground.tsx @@ -382,7 +382,7 @@ interface DevPlaygroundProps { import McpToolboxCallout from './McpToolboxCallout'; export default function DevPlayground({ theme = 'dark' }: DevPlaygroundProps) { - const [activeTool, setActiveTool] = useState<'jwt' | 'glass' | 'regex' | 'gen' | 'c_to_wasm' | 'svg_creator' | 'json2ts' | 'cron'>('jwt'); + const [activeTool, setActiveTool] = useState<'jwt' | 'glass' | 'regex' | 'gen' | 'c_to_wasm' | 'svg_creator' | 'json2ts' | 'cron' | 'theme'>('jwt'); const [copiedType, setCopiedType] = useState(null); // UTILITY: JSON to TS conversion helper