From 422bf666b2c0c6cb09a65a7b2e881d4bb37eaea9 Mon Sep 17 00:00:00 2001 From: frederikprijck Date: Wed, 12 Jul 2023 21:35:53 +0200 Subject: [PATCH] Fix incorrect logout jsdocx example --- src/auth0-context.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth0-context.tsx b/src/auth0-context.tsx index d7acdb2c..d22ceea7 100644 --- a/src/auth0-context.tsx +++ b/src/auth0-context.tsx @@ -119,7 +119,7 @@ export interface Auth0ContextInterface /** * ```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