This commit is contained in:
2026-03-07 15:20:48 +01:00
parent 72faf32011
commit 5aa01f4dec
3 changed files with 22 additions and 41 deletions

View File

@@ -106,14 +106,14 @@ export const ConfigNode = memo(function ConfigNode({ id, data, width, height }:
const insertVariableReference = useCallback(
(sourceNode: any, mode: 'prepend' | 'append' | 'cursor') => {
insertAt(`\${${sourceNode.id}}`, mode)
insertAt(`{{ ${sourceNode.id} }}`, mode)
},
[insertAt]
)
const insertFunctionCall = useCallback(
(sourceNode: any, mode: 'prepend' | 'append' | 'cursor') => {
insertAt(`\${${sourceNode.id}()}`, mode)
insertAt(`{{ ${sourceNode.id}() }}`, mode)
},
[insertAt]
)