diff --git a/src/components/Comment.svelte b/src/components/Comment.svelte
index f1da05c52..976edb92c 100644
--- a/src/components/Comment.svelte
+++ b/src/components/Comment.svelte
@@ -1,9 +1,10 @@
- {#each reactions as [reaction, nids]}
+ {#each reactions as [reaction, { all: nids }]}
{
- if (clickable) {
- dispatch("remove", { nids, reaction });
+ on:click={async () => {
+ if (handleReaction) {
+ await handleReaction(nids, reaction);
}
}}>
diff --git a/src/components/Thread.svelte b/src/components/Thread.svelte
index 3d537c4c1..3f2fa25dd 100644
--- a/src/components/Thread.svelte
+++ b/src/components/Thread.svelte
@@ -1,18 +1,50 @@
-
+
+