From aaa46912f3daa2ea8f63208c81b7370e3786710e Mon Sep 17 00:00:00 2001 From: lucaronin Date: Wed, 25 Mar 2026 10:32:11 +0100 Subject: [PATCH] fix: guard against undefined pinnedProperties + lint fixes Co-Authored-By: Claude Opus 4.6 (1M context) --- src/components/DynamicPropertiesPanel.tsx | 9 +++- src/components/NoteItem.tsx | 52 ++++++++++++++--------- 2 files changed, 40 insertions(+), 21 deletions(-) diff --git a/src/components/DynamicPropertiesPanel.tsx b/src/components/DynamicPropertiesPanel.tsx index 91bb4254..eb74f43f 100644 --- a/src/components/DynamicPropertiesPanel.tsx +++ b/src/components/DynamicPropertiesPanel.tsx @@ -46,11 +46,16 @@ function PropertyPinMenu({ x, y, isPinned, onPin, onUnpin, onClose }: { }, [onClose]) return ( -
+
) }