diff --git a/src/components/Markdown.svelte b/src/components/Markdown.svelte index 9ef69ba07..d7326a72d 100644 --- a/src/components/Markdown.svelte +++ b/src/components/Markdown.svelte @@ -12,13 +12,13 @@ import { tick } from "svelte"; interface Props { - rid: string; + rid?: string; content: string; // If true, add
on a single line break breaks?: boolean; } - const { rid, content, breaks = false }: Props = $props(); + const { rid = "", content, breaks = false }: Props = $props(); let container: HTMLElement;