From c21c2d113a872ad0aaec199b19e34848f85b7726 Mon Sep 17 00:00:00 2001 From: Antigravity Date: Fri, 29 May 2026 19:19:21 +0000 Subject: [PATCH] fix: note du jour preview (type daily) + aide Readwise toujours visible Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../app/(main)/settings/integrations/page.tsx | 21 ++++++++++--------- memento-note/components/note-card.tsx | 4 ++-- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/memento-note/app/(main)/settings/integrations/page.tsx b/memento-note/app/(main)/settings/integrations/page.tsx index 6308b6e..9c871c5 100644 --- a/memento-note/app/(main)/settings/integrations/page.tsx +++ b/memento-note/app/(main)/settings/integrations/page.tsx @@ -236,18 +236,19 @@ export default function IntegrationsPage() { {loading ? : } + + {!rwConnected && (
-
(note.reminder ? new Date(note.reminder) : null) const sanitizedHtml = useMemo(() => { - if (note.type !== 'richtext' || !note.content) return '' + if ((note.type !== 'richtext' && note.type !== 'daily') || !note.content) return '' return DOMPurify.sanitize(note.content) }, [note.type, note.content]) @@ -692,7 +692,7 @@ export const NoteCard = memo(function NoteCard({ items={localCheckItems || optimisticNote.checkItems || note.checkItems || []} onToggleItem={handleCheckItem} /> - ) : note.type === 'richtext' ? ( + ) : (note.type === 'richtext' || note.type === 'daily') ? (
) : (