From f4a5c77df8bda85a376ba2e483a0016b4e251d93 Mon Sep 17 00:00:00 2001 From: Jatin Bharti Date: Fri, 13 Feb 2026 00:12:38 +0530 Subject: [PATCH] Fix regression preventing the renaming of graph imports/exports (#3752) fix : Node Renaming error --- frontend/src/components/views/Graph.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/views/Graph.svelte b/frontend/src/components/views/Graph.svelte index 1c9344b7..cef55a12 100644 --- a/frontend/src/components/views/Graph.svelte +++ b/frontend/src/components/views/Graph.svelte @@ -21,7 +21,7 @@ const editor = getContext("editor"); const nodeGraph = getContext("nodeGraph"); - const document = getContext("document"); + const documentState = getContext("document"); let graph: HTMLDivElement | undefined; @@ -29,7 +29,7 @@ $: gridDotRadius = 1 + Math.floor($nodeGraph.transform.scale - 0.5 + 0.001) / 2; // Close the context menu when the graph view overlay is closed - $: if (!$document.graphViewOverlayOpen) nodeGraph.closeContextMenu(); + $: if (!$documentState.graphViewOverlayOpen) nodeGraph.closeContextMenu(); let inputElement: HTMLInputElement; let hoveringImportIndex: number | undefined = undefined;