Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck authored Jul 24, 2023
1 parent 1f5b4d5 commit fa351a1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,7 @@ function App() {
return (
<div>
Hello {user.name}{' '}
<button onClick={() => {
return logout({
logoutParams: {
returnTo: window.location.origin,
},
});
}}>
<button onClick={() => logout({ logoutParams: { returnTo: window.location.origin } })}>
Log out
</button>
</div>
Expand Down

0 comments on commit fa351a1

Please sign in to comment.