Renderizando data de nascimento do usuario
@ -229,6 +229,10 @@ export default function UpdateUserInfoScreen({ route, navigation }) {
const authContext = useContext(AuthContext);
//#endregion
useEffect(() => {
setDate(moment(user.dateofborn));
}, []);
const defaultValue = {
active: user.active,
city: user.city,