diff --git a/src/hooksNext/useApiKeyHandling.ts b/src/hooksNext/useApiKeyHandling.ts index 2a5924f3e..0373309c4 100644 --- a/src/hooksNext/useApiKeyHandling.ts +++ b/src/hooksNext/useApiKeyHandling.ts @@ -35,9 +35,6 @@ const useIsApiKeyRequired = () => { * isFetched: indicates if the api key handling is finished. As long as * this is false, isApiKeyRequired and isCurrentKeyValid can be undefined * - * showLoginModal: a flag that indicates whether the UI should handle the - * displaying a login modal. - * * showUsermenu: indicates whether the usermenu should be shown. In the * enterprise version this is always true (and is independent from any * api key handling), in the open source version this is only true if @@ -68,7 +65,6 @@ const useApiKeyHandling = () => { isApiKeyRequired, isCurrentKeyValid, isFetched, - showLoginModal: !isEnterprise, showUsermenu: isEnterprise ? true : isApiKeyRequired, }; };