Skip to content

Commit

Permalink
Fix incorrect logout jsdocx example (#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck committed Jul 13, 2023
1 parent 0af1dd4 commit 9c5fc93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth0-context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export interface Auth0ContextInterface<TUser extends User = User>

/**
* ```js
* auth0.logout({ returnTo: window.location.origin });
* auth0.logout({ logoutParams: { returnTo: window.location.origin } });
* ```
*
* Clears the application session and performs a redirect to `/v2/logout`, using
Expand Down

0 comments on commit 9c5fc93

Please sign in to comment.