mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
Add key for components resulting from a .map (#3291)
This commit is contained in:
@@ -110,6 +110,7 @@ const AddObsBottomSheet = ( {
|
|||||||
text
|
text
|
||||||
}: ObsCreateItem ) => (
|
}: ObsCreateItem ) => (
|
||||||
<Pressable
|
<Pressable
|
||||||
|
key={testID}
|
||||||
className="bg-white w-1/2 flex-column items-center py-4 rounded-lg flex-1 shadow-sm
|
className="bg-white w-1/2 flex-column items-center py-4 rounded-lg flex-1 shadow-sm
|
||||||
shadow-black/25 active:opacity-50"
|
shadow-black/25 active:opacity-50"
|
||||||
onPress={onPress}
|
onPress={onPress}
|
||||||
|
|||||||
Reference in New Issue
Block a user