Skip to content
Snippets Groups Projects
Commit 847b31b8 authored by Viivi Nevalainen's avatar Viivi Nevalainen
Browse files

Upload New File

parent dec29bd4
No related branches found
No related tags found
No related merge requests found
const LogoutForm = ({
handleLogout,
user,
}) => {
return (
<div>
<form onSubmit={handleLogout}>
<p>
{user.name} logged in
<button type="submit">logout</button>
</p>
</form>
</div>
)
}
export default LogoutForm
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment