From f46837fd100b5d6f509e78f507ed2f47385f21fe Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 21 Aug 2025 04:02:34 +0400 Subject: [PATCH] refac --- src/lib/components/chat/Navbar.svelte | 3 - src/lib/components/layout/Navbar.svelte | 200 ------------------- src/lib/components/layout/Navbar/Menu.svelte | 3 +- 3 files changed, 1 insertion(+), 205 deletions(-) delete mode 100644 src/lib/components/layout/Navbar.svelte diff --git a/src/lib/components/chat/Navbar.svelte b/src/lib/components/chat/Navbar.svelte index 656bb35ae0..326df910fb 100644 --- a/src/lib/components/chat/Navbar.svelte +++ b/src/lib/components/chat/Navbar.svelte @@ -165,9 +165,6 @@ shareHandler={() => { showShareChatModal = !showShareChatModal; }} - downloadHandler={() => { - showDownloadChatModal = !showDownloadChatModal; - }} > - - - {/if} - -
- {#if showModelSelector} - - {/if} -
- -
- - {#if shareEnabled && chat && (chat.id || $temporaryChatEnabled)} - { - showShareChatModal = !showShareChatModal; - }} - downloadHandler={() => { - showDownloadChatModal = !showDownloadChatModal; - }} - > - - - {:else if $mobile} - - - - {/if} - - {#if !$mobile} - - - - {/if} - - - - - - {#if $user !== undefined} - { - if (e.detail === 'archived-chat') { - showArchivedChats.set(true); - } - }} - > - - - {/if} -
- - - diff --git a/src/lib/components/layout/Navbar/Menu.svelte b/src/lib/components/layout/Navbar/Menu.svelte index 6bab404c5a..2d2d39fa72 100644 --- a/src/lib/components/layout/Navbar/Menu.svelte +++ b/src/lib/components/layout/Navbar/Menu.svelte @@ -36,8 +36,7 @@ export let shareEnabled: boolean = false; export let shareHandler: Function; - export let downloadHandler: Function; - + export let moveHandler: Function; // export let tagHandler: Function; export let chat;