resolve svelte-check warnings (#819)

Co-authored-by: Jonas Plum <cugu@users.noreply.github.com>
This commit is contained in:
slothful-vassal
2026-02-18 22:08:21 +01:00
committed by GitHub
parent 5595f9b4d3
commit c8af897cdd
24 changed files with 121 additions and 92 deletions

View File

@@ -2,8 +2,8 @@
import type { Comment } from "$lib/models/comment";
import { formatTimeSince } from "$lib/util/format_util";
import { _ } from "svelte-i18n";
import { untrack } from "svelte";
import { fade } from "svelte/transition";
import TextField from "../base/text_field.svelte";
import { handleFromRecordWithIRI } from "$lib/util/activitypub_util";
import Editor from "../base/editor.svelte";
@@ -18,7 +18,7 @@
let editing: boolean = $state(false);
let editedComment = $state(comment.text);
let editedComment = $state(untrack(() => comment.text));
$effect(() => {
editedComment = comment.text;