|
@@ -80,6 +80,7 @@ export function Home_page({navigation}) {
|
80
|
80
|
Time:'',
|
81
|
81
|
i_token:'',
|
82
|
82
|
u_token:'',
|
|
83
|
+ Pin: {},
|
83
|
84
|
...docSnap.data()
|
84
|
85
|
};
|
85
|
86
|
});
|
|
@@ -143,8 +144,8 @@ export function Home_page({navigation}) {
|
143
|
144
|
renderItem = {({item}) => (
|
144
|
145
|
<TouchableOpacity
|
145
|
146
|
onPress={async () => {
|
146
|
|
- console.log("item._id, home, client", item._id)
|
147
|
|
- navigation.navigate('Cita',{tag: item})
|
|
147
|
+ console.log("item._id, home, client", item.Pin)
|
|
148
|
+ navigation.navigate('Cita',{tag: item, Pin: item})
|
148
|
149
|
}}
|
149
|
150
|
>
|
150
|
151
|
<List.Item
|
|
@@ -216,7 +217,7 @@ export function Home_page({navigation}) {
|
216
|
217
|
<TouchableOpacity
|
217
|
218
|
onPress={async () => {
|
218
|
219
|
console.log("item._id, home, interpreter", item._id)
|
219
|
|
- navigation.navigate('Cita',{tag: item})
|
|
220
|
+ navigation.navigate('Cita',{tag: item, Pin: item})
|
220
|
221
|
}}
|
221
|
222
|
>
|
222
|
223
|
<List.Item
|