diff --git a/client/src/components/studio/domain-core/graph-query/index.tsx b/client/src/components/studio/domain-core/graph-query/index.tsx index 2336c643..c55da5d4 100644 --- a/client/src/components/studio/domain-core/graph-query/index.tsx +++ b/client/src/components/studio/domain-core/graph-query/index.tsx @@ -503,7 +503,7 @@ export const GraphQuery = () => { item => item.id === activeId, )?.script; if (!isEmpty(editor)) { - editor?.editorInstance?.setValue?.(value); + editorRef?.current?.codeEditor?.setValue(value); } updateState(draft => { draft.editorKey = activeId;