From c9fb213fbb2e5b686d37cf526b6d84faa79d48f0 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Sat, 10 Feb 2024 19:52:06 +0500 Subject: [PATCH] web: locked status not updating on note --- apps/web/src/components/note/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/src/components/note/index.tsx b/apps/web/src/components/note/index.tsx index 8c000dd1e..f797d4a59 100644 --- a/apps/web/src/components/note/index.tsx +++ b/apps/web/src/components/note/index.tsx @@ -270,7 +270,8 @@ export default React.memo(Note, function (prevProps, nextProps) { prevProps.notebooks?.dateEdited === nextProps.notebooks?.dateEdited && prevProps.tags?.dateEdited === nextProps.tags?.dateEdited && prevProps.reminder?.dateModified === nextProps.reminder?.dateModified && - prevProps.attachments === nextProps.attachments + prevProps.attachments === nextProps.attachments && + prevProps.locked === nextProps.locked ); });