Optional access of optional property

This commit is contained in:
Johannes Klein committed 2025-03-11 10:31:04 +01:00
1 parent 7bf26278e5
commit 027e08d90e
1 file changed
+2 -2
@@ -66,13 +66,13 @@ const LocationSection = ( {
/>
</View>
)}
{observation.obscured && (
{observation?.obscured && (
<ObscurationExplanation
textClassName="mt-[10px]"
observation={observation}
currentUser={currentUser}
/>
) }
)}
</View>
</View>
);