import React, { useContext } from "react"; import { Text, Button } from "react-native"; import Screen from "../components/Screen"; import InDevelopment from "../components/InDevelopment"; import { AuthContext } from "../auth/context"; import authStorage from "../auth/storage"; function handleLogOut(setUser) { setUser(null); authStorage.removeToken(); } function AccountScreen(props) { const { user, setUser } = useContext(AuthContext); return ( {user.name} {user.email}