From 1b5a9b19038d48d527cc63d4458fd7ef54f17cb8 Mon Sep 17 00:00:00 2001 From: Xylight Date: Sun, 1 Sep 2024 13:22:22 -0700 Subject: [PATCH] fix: save comment expand state --- .../components/lemmy/comment/Comment.svelte | 24 ++++++++++++++++++- .../components/lemmy/comment/Comments.svelte | 4 ++-- src/lib/components/lemmy/comment/comments.ts | 5 ++++ 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/src/lib/components/lemmy/comment/Comment.svelte b/src/lib/components/lemmy/comment/Comment.svelte index a34469b2..6df2f167 100644 --- a/src/lib/components/lemmy/comment/Comment.svelte +++ b/src/lib/components/lemmy/comment/Comment.svelte @@ -26,6 +26,7 @@ import { t } from '$lib/translations' import { slide } from 'svelte/transition' import { expoInOut, expoOut } from 'svelte/easing' + import FormattedNumber from '$lib/components/util/FormattedNumber.svelte' export let node: CommentNodeI export let postId: number @@ -110,8 +111,28 @@ >