This commit is contained in:
Timothy Jaeryang Baek committed 2025-10-02 04:09:17 -05:00
1 parent 5d5b42d3f5
commit c8c6a48b94
6 files changed
+25 -25

No files matched your search

+3 -3
View File
@@ -143,7 +143,7 @@
};
const onChange = async () => {
$socket?.emit('channel-events', {
$socket?.emit('events:channel', {
channel_id: channel.id,
message_id: threadId,
data: {
@@ -156,11 +156,11 @@
};
onMount(() => {
$socket?.on('channel-events', channelEventHandler);
$socket?.on('events:channel', channelEventHandler);
});
onDestroy(() => {
$socket?.off('channel-events', channelEventHandler);
$socket?.off('events:channel', channelEventHandler);
});
</script>