This commit is contained in:
Timothy Jaeryang Baek 2024-11-18 22:49:38 -08:00
parent 5ad64c7998
commit da8f7cff2f

View File

@ -75,7 +75,6 @@
await tick();
};
let mounted = false;
let selectedModelIdx = 0;
$: if (selectedModels.length > 0) {
@ -84,13 +83,10 @@
$: models = selectedModels.map((id) => $_models.find((m) => m.id === id));
onMount(() => {
mounted = true;
});
onMount(() => {});
</script>
{#if mounted}
<div class="m-auto w-full max-w-6xl px-2 xl:px-20 translate-y-6 py-24 text-center">
<div class="m-auto w-full max-w-6xl px-2 xl:px-20 translate-y-6 py-24 text-center">
{#if $temporaryChatEnabled}
<Tooltip
content="This chat won't appear in history and your messages will not be saved."
@ -226,5 +222,4 @@
/>
</div>
</div>
</div>
{/if}
</div>