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 }