From 012d699987e39445f9eafaf7224c5212d471ddef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Wed, 28 Apr 2021 15:36:45 +0200 Subject: [PATCH] Remove spacer --- .../components/integration/QueryEditor.svelte | 5 ++--- .../integration/QueryFieldsBuilder.svelte | 20 ++++++++++--------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/packages/builder/src/components/integration/QueryEditor.svelte b/packages/builder/src/components/integration/QueryEditor.svelte index c4d42e9812..2bfa9009e2 100644 --- a/packages/builder/src/components/integration/QueryEditor.svelte +++ b/packages/builder/src/components/integration/QueryEditor.svelte @@ -134,7 +134,7 @@ editor = CodeMirror.fromTextArea(refs.editor, opts) - editor.on("change", instance => { + editor.on("change", (instance) => { if (!updating_externally) { const value = instance.getValue() dispatch("change", { value }) @@ -160,13 +160,12 @@ } function sleep(ms) { - return new Promise(fulfil => setTimeout(fulfil, ms)) + return new Promise((fulfil) => setTimeout(fulfil, ms)) } {#if label} - {/if}