import {useAuth} from './contexts/AuthContext' import Header from './components/Header' export default function App() { const {isLoggedIn} = useAuth() return (
Hey, {account.username}! I'm happy to let you know: you are authenticated!
} const LoggedOutText = () => (Don't forget to start your backend server, then authenticate yourself.
)