diff --git a/src/routes/(app)/s/[id]/+page.svelte b/src/routes/s/[id]/+page.svelte similarity index 82% rename from src/routes/(app)/s/[id]/+page.svelte rename to src/routes/s/[id]/+page.svelte index 2b522620..6a6d1096 100644 --- a/src/routes/(app)/s/[id]/+page.svelte +++ b/src/routes/s/[id]/+page.svelte @@ -121,18 +121,6 @@ } } }; - - const scrollToBottom = () => { - if (messagesContainerElement) { - messagesContainerElement.scrollTop = messagesContainerElement.scrollHeight; - } - }; - - onMount(async () => { - if (!($settings.saveChatHistory ?? true)) { - await goto('/'); - } - }); @@ -144,26 +132,13 @@ {#if loaded} -
- { - goto('/'); - }} - /> +