chore(inline_title): fix type error

This commit is contained in:
Elian Doran 2025-12-13 16:43:27 +02:00
parent b10e7f1811
commit 0c9ff4dae4
No known key found for this signature in database

View File

@ -164,7 +164,7 @@ function NoteTypeSwitcher() {
className="note-type-switcher" className="note-type-switcher"
onWheel={onWheelHorizontalScroll} onWheel={onWheelHorizontalScroll}
> >
{blob?.contentLength === 0 && ( {note && blob?.contentLength === 0 && (
<> <>
<div className="intro">{t("note_title.note_type_switcher_label", { type: currentNoteTypeData?.title.toLocaleLowerCase() })}</div> <div className="intro">{t("note_title.note_type_switcher_label", { type: currentNoteTypeData?.title.toLocaleLowerCase() })}</div>
{pinnedNoteTypes.map(noteType => noteType.type !== currentNoteType && ( {pinnedNoteTypes.map(noteType => noteType.type !== currentNoteType && (