Add key for components resulting from a .map (#3291)

This commit is contained in:
Johannes Klein
2025-12-16 22:29:16 +01:00
committed by GitHub
parent 73301b2e21
commit 8780543f07

View File

@@ -110,6 +110,7 @@ const AddObsBottomSheet = ( {
text
}: ObsCreateItem ) => (
<Pressable
key={testID}
className="bg-white w-1/2 flex-column items-center py-4 rounded-lg flex-1 shadow-sm
shadow-black/25 active:opacity-50"
onPress={onPress}