Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: fix compact view not affecting notes

Abdullah Atta19f048874511
diff --git a/apps/web/src/components/note/index.tsx b/apps/web/src/components/note/index.tsx
index f797d4a59..f3d260584 100644
--- a/apps/web/src/components/note/index.tsx
+++ b/apps/web/src/components/note/index.tsx
@@ -265,6 +265,7 @@ export default React.memo(Note, function (prevProps, nextProps) {
const prevItem = prevProps.item;
const nextItem = nextProps.item;
return (
+ prevProps.compact === nextProps.compact &&
prevProps.date === nextProps.date &&
prevItem.dateModified === nextItem.dateModified &&
prevProps.notebooks?.dateEdited === nextProps.notebooks?.dateEdited &&