diff --git a/packages/builder/src/components/common/bindings/BindingPanel.svelte b/packages/builder/src/components/common/bindings/BindingPanel.svelte index 2a656dec6f..d8edf0cbb1 100644 --- a/packages/builder/src/components/common/bindings/BindingPanel.svelte +++ b/packages/builder/src/components/common/bindings/BindingPanel.svelte @@ -67,10 +67,6 @@ let targetMode = null let expressionResult let evaluating = false - let mounted = false - - // Value updates must be reprocessed to avoid timing issues - $: processUpdate(value, mounted) $: useSnippets = allowSnippets && !$licensing.isFreePlan $: editorModeOptions = getModeOptions(allowHBS, allowJS) @@ -98,13 +94,6 @@ } } - const processUpdate = value => { - if (!mounted) return - let isJS = value?.startsWith?.("{{ js ") - jsValue = isJS ? value : null - hbsValue = isJS ? null : value - } - const getHBSCompletions = bindingCompletions => { return [ hbAutocomplete([ @@ -277,8 +266,6 @@ // Set the initial side panel sidePanel = sidePanelOptions[0] - - mounted = true })