diff --git a/src/lib/components/channel/Thread.svelte b/src/lib/components/channel/Thread.svelte index 1f978db94..aa26f3ded 100644 --- a/src/lib/components/channel/Thread.svelte +++ b/src/lib/components/channel/Thread.svelte @@ -137,7 +137,7 @@ {#if channel}
-
+
Thread
@@ -152,29 +152,33 @@
- { - const newMessages = await getChannelThreadMessages( - localStorage.token, - channel.id, - threadId, - messages.length - ); +
+ { + const newMessages = await getChannelThreadMessages( + localStorage.token, + channel.id, + threadId, + messages.length + ); - messages = [...messages, ...newMessages]; + messages = [...messages, ...newMessages]; - if (newMessages.length < 50) { - top = true; - return; - } - }} - /> + if (newMessages.length < 50) { + top = true; + return; + } + }} + /> - +
+ +
+
{/if}