Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(inline_title): fix type error
Elian Doran0c9ff4dae460
diff --git a/apps/client/src/widgets/layout/InlineTitle.tsx b/apps/client/src/widgets/layout/InlineTitle.tsxindex cc48873083..c3f86d10e4 100644--- a/apps/client/src/widgets/layout/InlineTitle.tsx+++ b/apps/client/src/widgets/layout/InlineTitle.tsx@@ -164,7 +164,7 @@ function NoteTypeSwitcher() {className="note-type-switcher"onWheel={onWheelHorizontalScroll}>- {blob?.contentLength === 0 && (+ {note && blob?.contentLength === 0 && (<><div className="intro">{t("note_title.note_type_switcher_label", { type: currentNoteTypeData?.title.toLocaleLowerCase() })}</div>{pinnedNoteTypes.map(noteType => noteType.type !== currentNoteType && (