mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-05-03 21:23:04 -04:00
Optional access of optional property
This commit is contained in:
@@ -66,13 +66,13 @@ const LocationSection = ( {
|
||||
/>
|
||||
</View>
|
||||
)}
|
||||
{observation.obscured && (
|
||||
{observation?.obscured && (
|
||||
<ObscurationExplanation
|
||||
textClassName="mt-[10px]"
|
||||
observation={observation}
|
||||
currentUser={currentUser}
|
||||
/>
|
||||
) }
|
||||
)}
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user