diff --git a/src/ui/src/builder/BuilderEmbeddedCodeEditor.vue b/src/ui/src/builder/BuilderEmbeddedCodeEditor.vue index 36a17b776..431dcbc87 100644 --- a/src/ui/src/builder/BuilderEmbeddedCodeEditor.vue +++ b/src/ui/src/builder/BuilderEmbeddedCodeEditor.vue @@ -66,7 +66,7 @@ function updateDimensions() { } onUnmounted(() => { - editor.dispose(); + editor.dispose(); window.removeEventListener("resize", updateDimensions.bind(this)); });