diff --git a/src/components/notes/note-card.tsx b/src/components/notes/note-card.tsx index 4c48008..62c03cf 100644 --- a/src/components/notes/note-card.tsx +++ b/src/components/notes/note-card.tsx @@ -1,4 +1,4 @@ -import { createSignal } from "solid-js"; +import { Show, createSignal } from "solid-js"; import { formatApiError } from "@/api/client"; import type { Note } from "@/api/client"; import { NoteForm } from "@/components/notes/note-form"; @@ -55,9 +55,12 @@ export function NoteCard(props: {
- {props.note.content || t("notes.noContent")} -
+{error()}
}{t("notes.noContent")}
} > -{paragraph}
} -