From 0c9ff4dae46021a229794f01d175bc0e8ddca1db Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 13 Dec 2025 16:43:27 +0200 Subject: [PATCH] chore(inline_title): fix type error --- apps/client/src/widgets/layout/InlineTitle.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/layout/InlineTitle.tsx b/apps/client/src/widgets/layout/InlineTitle.tsx index cc4887308..c3f86d10e 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 && ( <>
{t("note_title.note_type_switcher_label", { type: currentNoteTypeData?.title.toLocaleLowerCase() })}
{pinnedNoteTypes.map(noteType => noteType.type !== currentNoteType && (