diff --git a/ui/litellm-dashboard/src/components/user_dashboard.tsx b/ui/litellm-dashboard/src/components/user_dashboard.tsx index 2d2fb0dc1e..fdddcaad62 100644 --- a/ui/litellm-dashboard/src/components/user_dashboard.tsx +++ b/ui/litellm-dashboard/src/components/user_dashboard.tsx @@ -259,14 +259,15 @@ const UserDashboard: React.FC = ({ } }, [selectedTeam]); + + if (invitation_id != null) { + return ( + + ) + } + if (userID == null || token == null) { // user is not logged in as yet - if (invitation_id != null) { - return ( - - - ) - } const url = proxyBaseUrl ? `${proxyBaseUrl}/sso/key/generate` : `/sso/key/generate`;