web: fix compact view not affecting notes

This commit is contained in:
Abdullah Atta
2024-02-13 11:17:53 +05:00
parent 5002947c27
commit af1312977a

View File

@@ -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 &&