diff --git a/lib/note-list/get-note-title-and-preview.ts b/lib/note-list/get-note-title-and-preview.ts index dfd9bb749..9581a44b2 100644 --- a/lib/note-list/get-note-title-and-preview.ts +++ b/lib/note-list/get-note-title-and-preview.ts @@ -25,7 +25,7 @@ export const withCache = (getKey, getValue) => (note) => { export const clearCache = () => noteCache.clear(); const getNoteTitleAndPreview = withCache( - (note) => note.data.modificationDate, + (note) => note.data.content, getNoteExcerpt );