minor fix
This commit is contained in:
parent
695eb3c205
commit
53e7c3f114
|
@ -96,24 +96,24 @@ export default function Profile({ navigation }) {
|
||||||
</FormControl> */}
|
</FormControl> */}
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<FormControl.Label>Nombre</FormControl.Label>
|
<FormControl.Label>Nombre</FormControl.Label>
|
||||||
<TextInput style={styles.input} type="text" defaultValue={info.name} onChangeText={onHandleChange("name")} placeholder={name}/>
|
<TextInput style={styles.input} type="text" onChangeText={onHandleChange("name")} placeholder={name}/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<FormControl.Label>Apellido</FormControl.Label>
|
<FormControl.Label>Apellido</FormControl.Label>
|
||||||
<TextInput style={styles.input} type="text" defaultValue={info.last_name} onChangeText={onHandleChange("last_name") }placeholder={apellido} />
|
<TextInput style={styles.input} type="text" onChangeText={onHandleChange("last_name") } placeholder={apellido} />
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<FormControl.Label>Correo electrónico</FormControl.Label>
|
<FormControl.Label>Correo electrónico</FormControl.Label>
|
||||||
<TextInput style={styles.input} type="text" defaultValue={info.email} onChangeText={onHandleChange("email") } placeholder={email}/>
|
<TextInput style={styles.input} type="text" onChangeText={onHandleChange("email") } placeholder={email}/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<Button mt="2" backgroundColor="orange.300" onPress={() => updateInfo()}>
|
<Button disabled={disable} mt="2" backgroundColor="orange.300" onPress={() => updateInfo()}>
|
||||||
Actualizar
|
Actualizar
|
||||||
</Button>
|
</Button>
|
||||||
<TouchableOpacity disabled={disable}>
|
|
||||||
<Button disabled={disable} mt="6" colorScheme="error" onPress={() => navigation.navigate('Iniciar Sesión')}>
|
<Button mt="6" colorScheme="error" onPress={() => navigation.navigate('Iniciar Sesión')}>
|
||||||
Cerrar sesión
|
Cerrar sesión
|
||||||
</Button>
|
</Button>
|
||||||
</TouchableOpacity>
|
|
||||||
|
|
||||||
</VStack>
|
</VStack>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
Loading…
Reference in New Issue