From ac5bdac1611b944fcdeb1bc1b7cc9da8ff626e4b Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 13 Jan 2025 20:21:47 -0800 Subject: [PATCH] refac: styling --- src/lib/components/app/AppControls.svelte | 2 +- src/routes/+layout.svelte | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lib/components/app/AppControls.svelte b/src/lib/components/app/AppControls.svelte index ea84be6c3..aeb7111b1 100644 --- a/src/lib/components/app/AppControls.svelte +++ b/src/lib/components/app/AppControls.svelte @@ -5,7 +5,7 @@ let selected = ''; -
+
{#if selected === 'home'}
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index f4e15ff43..bbf473541 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -153,6 +153,10 @@ }; const channelEventHandler = async (event) => { + if (event.data?.type === 'typing') { + return; + } + // check url path const channel = $page.url.pathname.includes(`/channels/${event.channel_id}`); @@ -359,7 +363,7 @@
-
+