From 0820abbc649e780a77cf2fd7425f3d5563ca71b2 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 6 Mar 2026 13:54:55 -0600 Subject: [PATCH] refac --- src/lib/components/chat/Chat.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 5f68320452..052b44fcd4 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -105,6 +105,7 @@ import Tooltip from '../common/Tooltip.svelte'; import Sidebar from '../icons/Sidebar.svelte'; import Image from '../common/Image.svelte'; + import { getBanners } from '$lib/apis/configs'; export let chatIdProp = ''; @@ -648,6 +649,7 @@ if (p.url.pathname === '/') { await tick(); initNewChat(); + banners.set(await getBanners(localStorage.token).catch(() => [])); } stopAudio();