From 94050fb371f7ce1f467950953521310b852f93ba Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Fri, 18 Sep 2026 11:41:10 +0200 Subject: [PATCH] task(CAD-14 audit): registry effect idempotent (main.tsx init is the single source, no double-register warnings) --- frontend/src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index fc8f0b9..cb4c76d 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -150,8 +150,8 @@ const CADEditor: React.FC = ({ projectId, token, onNavigateBack useEffect(() => { pluginRegistry.setContext(createPluginContext()); - registerBuiltinPlugins(); - pluginRegistry.initDefaults(); + // CAD-14 Audit-Fix: main.tsx initialisiert die Registry bereits vor dem + // Render — hier nur Context nachziehen, kein Doppel-Register (Warnungen). }, [createPluginContext]); // Status bar – only count self as online when actually connected