From 60247fe18d2ba32718bd8f27a0f80fbe612039c5 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 31 Dec 2024 02:51:52 -0800 Subject: [PATCH] refac --- src/lib/components/channel/Channel.svelte | 2 -- src/lib/components/channel/Thread.svelte | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/lib/components/channel/Channel.svelte b/src/lib/components/channel/Channel.svelte index e83e37c08..e8ef4a285 100644 --- a/src/lib/components/channel/Channel.svelte +++ b/src/lib/components/channel/Channel.svelte @@ -67,8 +67,6 @@ }; const channelEventHandler = async (event) => { - console.log(event); - if (event.channel_id === id) { const type = event?.data?.type ?? null; const data = event?.data?.data ?? null; diff --git a/src/lib/components/channel/Thread.svelte b/src/lib/components/channel/Thread.svelte index 49f9344bd..1b4a811d0 100644 --- a/src/lib/components/channel/Thread.svelte +++ b/src/lib/components/channel/Thread.svelte @@ -54,8 +54,6 @@ }; const channelEventHandler = async (event) => { - console.log(event); - if (event.channel_id === channel.id) { const type = event?.data?.type ?? null; const data = event?.data?.data ?? null;