From 772e3b8a32c2e4790dc68f08a22c738798996541 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Fri, 1 Dec 2023 00:07:44 +0100 Subject: [PATCH] fix eval preview --- .../settingsPanel/inputEditor/EvalV2InputEditor.svelte | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/frontend/src/lib/components/apps/editor/settingsPanel/inputEditor/EvalV2InputEditor.svelte b/frontend/src/lib/components/apps/editor/settingsPanel/inputEditor/EvalV2InputEditor.svelte index 71823119a3..6ede0bc222 100644 --- a/frontend/src/lib/components/apps/editor/settingsPanel/inputEditor/EvalV2InputEditor.svelte +++ b/frontend/src/lib/components/apps/editor/settingsPanel/inputEditor/EvalV2InputEditor.svelte @@ -8,8 +8,6 @@ import { inferDeps } from '../../appUtilsInfer' import { Maximize2 } from 'lucide-svelte' import { Drawer } from '$lib/components/common' - import { Highlight } from 'svelte-highlight' - import { json } from 'svelte-highlight/languages' export let componentInput: EvalV2AppInput | undefined export let id: string @@ -102,10 +100,9 @@
- +
{JSON.stringify($evalPreview[`${id}.${field}`] ?? null, null, 4) ?? 'null'}
{/if}