From b8dfc79e80cca7326e00e2fa87e6870302b25722 Mon Sep 17 00:00:00 2001 From: lucaronin Date: Thu, 16 Apr 2026 02:21:55 +0200 Subject: [PATCH] fix: align note list model event types --- src/components/note-list/useNoteListModel.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/note-list/useNoteListModel.tsx b/src/components/note-list/useNoteListModel.tsx index 3338f950..f3a72d5c 100644 --- a/src/components/note-list/useNoteListModel.tsx +++ b/src/components/note-list/useNoteListModel.tsx @@ -275,8 +275,8 @@ interface UseRenderItemParams { isChangesView: boolean onDiscardFile?: (relativePath: string) => Promise resolvedGetNoteStatus: (path: string) => NoteStatus - getChangeStatus: (path: string) => string | undefined - handleClickNote: (entry: VaultEntry, event?: React.MouseEvent) => void + getChangeStatus: (path: string) => ModifiedFile['status'] | undefined + handleClickNote: (entry: VaultEntry, event: React.MouseEvent) => void noteContextMenu?: ((entry: VaultEntry, event: React.MouseEvent) => void) | undefined multiSelect: MultiSelectState noteListKeyboard: { highlightedPath: string | null }