Browse Source

fix: render user date of burn on front-end

Renderizando data de nascimento do usuario
newFeature
bobmw 8 months ago
parent
commit
fc2ea703bd
  1. 4
      src/app/screens/UpdateUserInfoScreen.js

4
src/app/screens/UpdateUserInfoScreen.js

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

Loading…
Cancel
Save