From 9c5fc936c8b2c953eb5d863bcffdca6c235b8f08 Mon Sep 17 00:00:00 2001 From: Frederik Prijck Date: Thu, 13 Jul 2023 11:16:27 +0200 Subject: [PATCH] Fix incorrect logout jsdocx example (#551) --- 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