diff --git a/src/lib/components/chat/Placeholder.svelte b/src/lib/components/chat/Placeholder.svelte index 5b7bb52ae..6782ea628 100644 --- a/src/lib/components/chat/Placeholder.svelte +++ b/src/lib/components/chat/Placeholder.svelte @@ -75,7 +75,6 @@ await tick(); }; - let mounted = false; let selectedModelIdx = 0; $: if (selectedModels.length > 0) { @@ -84,147 +83,143 @@ $: models = selectedModels.map((id) => $_models.find((m) => m.id === id)); - onMount(() => { - mounted = true; - }); + onMount(() => {}); -{#if mounted} -